Christopher Faylor
Mon Mar 19 09:50:00 GMT 2001

On Mon, Mar 19, 2001 at 11:32:09PM +1100, Robert Collins wrote:
>Any objections if I do a <sarcastic>little bit</sarcastic> of
>housekeeping in pthread.h & thread.h ? There's a few serious
>issues there with the type definitions (which I blindly followed for
>pthread_cond* - making it worse :[).

No objections to cleanup at all.  I've never really liked this code.

>I believe I can make it leaner and meaner, and more compatible/easy to
>build on in future....
>Fortunately I believe this can be done without breaking existing
>compiled programs (I'll especially test for this).
>As a side effect it will make some of it 64 bit clean.
>* and rewrite the guts of & thread.h to allocate new objects
>on the stack and store the pointer rather than an index. This also
>removes the overhead of walking the list for user space requests, and
>simplifies the code.

How can you allocate things on the stack?  That doesn't seem possible.
Do you mean the heap?


More information about the Cygwin-developers mailing list