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 wou
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 whil
> 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 = pthread_
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: llv
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 l
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
di
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 llv