Explorar o código

- updated i386 locks (faster)

Andrei Pelinescu-Onciul %!s(int64=23) %!d(string=hai) anos
pai
achega
a0bb0a260a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fastlock.h

+ 1 - 1
fastlock.h

@@ -28,7 +28,7 @@ typedef  volatile int fl_lock_t;
 /*test and set lock, ret 1 if lock held by someone else, 0 otherwise*/
 inline static int tsl(fl_lock_t* lock)
 {
-	volatile int val;
+	int val;
 
 #ifdef __i386