[PATCH] change to thread.cc -- need feedback

Robert Collins rbcollins@cygwin.com
Mon Sep 30 14:07:00 GMT 2002


On Tue, 2002-10-01 at 01:12, Christopher Faylor wrote:
> I've changed the static declarations in thread.cc to use
> NO_COPY and things seem to be working better in my build.

I've tweaked this a little. pthread_key::keys needs to be copied.
pthreadNULL doesn't care either way - if NO_COPY is more efficient on
forks, then it can be made NO_COPY.
The pthread_mutex::inializationMutex should be NO_COPY, as the handle
isn't inheritable anyway (by design).

Rob


-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20020930/31734c1d/attachment.sig>


More information about the Cygwin-developers mailing list