Explorar el Código

- updated i386 locks (faster)

Andrei Pelinescu-Onciul hace 23 años
padre
commit
a0bb0a260a
Se han modificado 1 ficheros con 1 adiciones y 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