nanogui: Thread: thread safety


[<<] [<] Page 1 of 1 [>] [>>]
Subject: thread safety
From: "Greg Haerr" ####@####.####
Date: 27 Aug 2002 21:12:44 -0000
Message-Id: <00d601c24e0e$cc265c90$6817dbd0@censoft.com>

:  It is my opinion that having the pthreads dependency is something that
: may come back and haunt us.  Thats why I would recommend biting the
: bullet and doing it ourselves.

There is no pthreads dependency.  As I mentioned, the version 
I just checked into CVS uses pthread_mutex_lock and
pthread_mutex_unlock, which are in glibc.

Also, src/include/lock.h defines three macros which can be used
to implement locks any way desired - just redefine the macros.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.