[llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2007-01-20 Thread Reid Spencer
Changes in directory llvm/lib/System: Mutex.cpp updated: 1.10 - 1.11 --- Log message: For PR808: http://llvm.org/PR808 : NetBSD also doesn't have pthread_mutexattr_setpshared --- Diffs of the changes: (+1 -1) Mutex.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

Re: [llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2007-01-20 Thread Chris Lattner
For PR808: http://llvm.org/PR808 : NetBSD also doesn't have pthread_mutexattr_setpshared -#if !defined(__FreeBSD__) !defined(__OpenBSD__) +#if !defined(__FreeBSD__) !defined(__OpenBSD__) !defined (__NetBSD__) // Make it a process local mutex errorcode =

Re: [llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2007-01-20 Thread Reid Spencer
I think it would be more appropriate to add a test for pthread_mutexattr_setpshared in the configure script. On Linux, PTHREAD_PROCESS_PRIVATE is both an enumerator and a #define. If its only an enumerator on some system, that check would be bad. Furthermore, a pthread.h could define the macro

Re: [llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2007-01-20 Thread Chris Lattner
On Jan 20, 2007, at 2:20 PM, Reid Spencer wrote: I think it would be more appropriate to add a test for pthread_mutexattr_setpshared in the configure script. On Linux, PTHREAD_PROCESS_PRIVATE is both an enumerator and a #define. If its only an enumerator on some system, that check would

[llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2006-11-02 Thread Reid Spencer
Changes in directory llvm/lib/System: Mutex.cpp updated: 1.9 - 1.10 --- Log message: Get rid of unused variable. --- Diffs of the changes: (+1 -1) Mutex.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/System/Mutex.cpp diff -u llvm/lib/System/Mutex.cpp:1.9

[llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2006-08-27 Thread Chris Lattner
Changes in directory llvm/lib/System: Mutex.cpp updated: 1.8 - 1.9 --- Log message: simplify AnalysisGroup registration, eliminating one typeid call. --- Diffs of the changes: (+1 -1) Mutex.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/System/Mutex.cpp

[llvm-commits] CVS: llvm/lib/System/Mutex.cpp

2006-04-17 Thread Jeff Cohen
Changes in directory llvm/lib/System: Mutex.cpp updated: 1.6 - 1.7 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) Mutex.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/System/Mutex.cpp diff -u llvm/lib/System/Mutex.cpp:1.6