瀏覽代碼

- updated i386 locks (faster)

Andrei Pelinescu-Onciul 23 年之前
父節點
當前提交
a0bb0a260a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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