Changeset 765
- Timestamp:
- 06/25/08 13:20:06 (4 months ago)
- Files:
-
- trunk/phobos/std/synchro.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/phobos/std/synchro.d
r763 r765 138 138 { 139 139 // Warning: this is non-portable 140 pthread_mutexattr_init(& _monitors_attr);141 pthread_mutexattr_settype(& _monitors_attr, PTHREAD_MUTEX_RECURSIVE_NP);140 pthread_mutexattr_init(&monitors_attr); 141 pthread_mutexattr_settype(&monitors_attr, PTHREAD_MUTEX_RECURSIVE_NP); 142 142 } 143 143 144 144 static ~this() 145 145 { 146 pthread_mutexattr_destroy(& _monitors_attr);146 pthread_mutexattr_destroy(&monitors_attr); 147 147 } 148 148
