133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
# endif
# if defined(OF_HAVE_THREADS) && (!defined(OF_AMIGAOS) || defined(OF_MORPHOS))
mutex = [[OFMutex alloc] init];
atexit(releaseMutex);
# ifdef OF_WII
if (of_spinlock_new(&spinlock) != 0)
return;
# endif
# endif
initSuccessful = true;
}
|
|
|
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
# endif
# if defined(OF_HAVE_THREADS) && (!defined(OF_AMIGAOS) || defined(OF_MORPHOS))
mutex = [[OFMutex alloc] init];
atexit(releaseMutex);
# ifdef OF_WII
if (OFSpinlockNew(&spinlock) != 0)
return;
# endif
# endif
initSuccessful = true;
}
|