Changeset 1371 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jun 15, 2002, 12:59:07 PM (23 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/collector.cpp
r1326 r1371 68 68 69 69 #ifdef APPLE_CHANGES 70 // FIXME: fix these once static initializers for pthread_cond_t and 71 // pthread_mutex_t are fixed not to warn. 72 static pthread_mutex_t collectorLock = {_PTHREAD_MUTEX_SIG_init, {}}; 73 static pthread_cond_t collectorCondition = {_PTHREAD_COND_SIG_init, {}}; 70 static pthread_mutex_t collectorLock = PTHREAD_MUTEX_INITIALIZER; 71 static pthread_cond_t collectorCondition = PTHREAD_COND_INITIALIZER; 74 72 static unsigned collectorLockCount = 0; 75 73 static pthread_t collectorLockThread; -
trunk/JavaScriptCore/kjs/internal.cpp
r1326 r1371 690 690 int Parser::sid = 0; 691 691 #ifdef APPLE_CHANGES 692 static pthread_mutex_t parserLock = {_PTHREAD_MUTEX_SIG_init, {}};692 static pthread_mutex_t parserLock = PTHREAD_MUTEX_INITIALIZER; 693 693 #endif 694 694 -
trunk/JavaScriptCore/kjs/ustring.cpp
r1326 r1371 127 127 UString UString::null; 128 128 #ifdef APPLE_CHANGES 129 // FIXME: fix this once static initializers for pthread_once_t 130 pthread_once_t statBufferKeyOnce = {_PTHREAD_ONCE_SIG_init, {}}; 131 pthread_key_t statBufferKey; 129 static pthread_once_t statBufferKeyOnce = PTHREAD_ONCE_INIT; 130 static pthread_key_t statBufferKey; 132 131 #else 133 132 static char *statBuffer = 0L;
Note:
See TracChangeset
for help on using the changeset viewer.