nanogui: thread safety


Previous by date: 27 Aug 2002 21:12:44 -0000 Re: pixmap buffer patch!, Aaron J. Grier
Next by date: 27 Aug 2002 21:12:44 -0000 Re: pixmap buffer patch!, Greg Haerr
Previous in thread:
Next in thread:

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


Previous by date: 27 Aug 2002 21:12:44 -0000 Re: pixmap buffer patch!, Aaron J. Grier
Next by date: 27 Aug 2002 21:12:44 -0000 Re: pixmap buffer patch!, Greg Haerr
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.