|
@@ -2213,10 +2213,10 @@ void laSpinUnlock(SYSLOCK* lock) {
|
|
|
#endif
|
|
|
#ifdef __linux__
|
|
|
void laSpinInit(SYSLOCK* lock) {
|
|
|
- laSpinInit(lock);
|
|
|
+ pthread_spin_init(lock, 0);
|
|
|
}
|
|
|
void laSpinDestroy(SYSLOCK* lock) {
|
|
|
- laSpinDestroy(lock);
|
|
|
+ pthread_spin_destroy(lock);
|
|
|
}
|
|
|
void laSpinLock(SYSLOCK* lock) {
|
|
|
pthread_spin_lock(lock);
|