1 LOCK_SH 1 2 LOCK_EX 2 3 LOCK_NB 4 4 LOCK_UN 8 5 LOCK_MAND 32 6 LOCK_RW 192 7 LOCK_READ 64 8 LOCK_WRITE 128 9