[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reply to Mr Verdoolaege about wide chars
From: |
Rod Chamberlin |
Subject: |
Re: Reply to Mr Verdoolaege about wide chars |
Date: |
Fri, 5 Oct 2001 12:03:23 +0100 (BST) |
On Fri, 28 Sep 2001, Thomas Dickey wrote:
> On Fri, Sep 28, 2001 at 01:18:24PM +0100, Rod Chamberlin wrote:
> > I think the thing you need to beware of if you are returning structures is
> > thread safety, since the structure is usually returned in a standard
> > common block of memory rather than in a register/on the stack.
>
> is that gcc only, or generally true of C compilers?
>
I'm not sure actually; it's something I read a while back about the use of
structure return-values. I tend to try to avoid them, and just pass them
by reference, but I guess that isn't feasible here.
> --
.............................Rod
+-----------------------------------------------------------------------------+
| Rod Chamberlin | address@hidden Tel +44 23 8023 2345 |
| Software Development Manager | Mob +44 7803 295406 |
| QueriX | Fax +44 23 8039 9685 |
+-----------------------------------------------------------------------------+
- Re: Reply to Mr Verdoolaege about wide chars,
Rod Chamberlin <=