*** src/include/storage/s_lock.h Sat Sep 30 12:13:42 2000 --- src/include/storage/s_lock.h- Sat Sep 30 12:13:42 2000 *************** *** 252,266 **** * Note that slock_t on the Alpha AXP is msemaphore instead of char * (see storage/ipc.h). */ - #include - #if 0 #define TAS(lock) (msem_lock((lock), MSEM_IF_NOWAIT) < 0) #define S_UNLOCK(lock) msem_unlock((lock), 0) #define S_INIT_LOCK(lock) msem_init((lock), MSEM_UNLOCKED) #define S_LOCK_FREE(lock) (!(lock)->msem_state) - #else - #define TAS(lock) (__INTERLOCKED_TESTBITSS_QUAD((lock),0)) - #endif #else /* i.e. not __osf__ */ --- 252,261 ----