diff options
author | explorer <explorer@pkgsrc.org> | 1999-11-12 20:27:16 +0000 |
---|---|---|
committer | explorer <explorer@pkgsrc.org> | 1999-11-12 20:27:16 +0000 |
commit | e6659b374641b3461de37af5477e30116aa1aae0 (patch) | |
tree | 4f1faf60be0bc0091211aa1657417e00d211505d /devel/nasm | |
parent | 91ea3762ebea84f4be42eb877d1054220002b705 (diff) | |
download | pkgsrc-e6659b374641b3461de37af5477e30116aa1aae0.tar.gz |
Import unproven-pthreads, the mit-pthreads based cleanup I'm hacking on.
Why am I using MIT-Pthreads? Because all the alternatives seem to have
very low level problems. PTL2 has a locking problem of some sort that I
cannot track down, and the author insists that
lock = PTHREAD_MUTEX_INIT;
is always to be legal, so he uses a pointer for locks. This means
pthread_lock() can break in out of memory situations, and therefore so
can pthread_once(), and if you're using that to protect logging, and you
need to report a memory depletion, you're screwed.
--Michael
Diffstat (limited to 'devel/nasm')
0 files changed, 0 insertions, 0 deletions