Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
MacOS X doesn't support pthread spinlocks.
Hongli Lai (Phusion) (author)
Tue Jul 22 01:44:37 -0700 2008
commit  eecfcc3d5bd9fc3afbc2c86b34408bf52b086b68
tree    c3dee5293a68a1ebe889a2717937556b6fdcb3b3
parent  9fd384934ef711f5fdfe5708033f507587e26529
...
25
26
27
28
 
29
30
31
32
 
 
33
34
35
...
25
26
27
 
28
29
30
31
 
32
33
34
35
36
0
@@ -25,11 +25,12 @@
0
 #ifndef _OXT_SPIN_LOCK_HPP_
0
 #define _OXT_SPIN_LOCK_HPP_
0
 
0
-// At the time of writing (June 22, 2008), these operating systems don't
0
+// At the time of writing (July 22, 2008), these operating systems don't
0
 // support pthread spin locks:
0
 // - OpenBSD 4.3
0
 // - Solaris 9
0
-#if defined(__OpenBSD__) || defined(__SOLARIS9__)
0
+// - MacOS X
0
+#if defined(__OpenBSD__) || defined(__SOLARIS9__) || defined(__APPLE__)
0
   #define OXT_NO_PTHREAD_SPINLOCKS
0
 #endif
0
 

Comments

    No one has commented yet.