lock 242 src/dps8/shm.c struct flock lock; lock 243 src/dps8/shm.c (void)memset(&lock, 0, sizeof ( lock )); lock 244 src/dps8/shm.c lock.l_type = F_WRLCK; lock 248 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 255 src/dps8/shm.c if (fcntl(fd, F_GETLK, &lock) == FALSE && lock.l_pid > 0) lock 259 src/dps8/shm.c (unsigned long)lock.l_pid); lock 359 src/dps8/shm.c struct flock lock; lock 360 src/dps8/shm.c (void)memset(&lock, 0, sizeof ( lock )); lock 361 src/dps8/shm.c lock.l_type = F_WRLCK; lock 365 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 387 src/dps8/shm.c lock.l_type = F_UNLCK; lock 390 src/dps8/shm.c (void)fcntl(fd, F_SETLK, &lock); lock 232 src/dps8/threadz.c void lock_ptr (pthread_mutex_t * lock) lock 235 src/dps8/threadz.c rc = pthread_mutex_lock (lock); lock 240 src/dps8/threadz.c void unlock_ptr (pthread_mutex_t * lock) lock 244 src/dps8/threadz.c rc = pthread_mutex_unlock (lock); lock 95 src/dps8/threadz.h void lock_ptr (pthread_mutex_t * lock); lock 96 src/dps8/threadz.h void unlock_ptr (pthread_mutex_t * lock); lock 269 src/simh/sim_fio.c struct flock lock; lock 270 src/simh/sim_fio.c (void)memset (&lock, 0, sizeof(lock)); lock 271 src/simh/sim_fio.c lock.l_type = F_WRLCK; lock 274 src/simh/sim_fio.c rc = fcntl (fileno(fsc), F_SETLK, &lock); lock 279 src/simh/sim_fio.c if (fcntl(fileno(fsc), F_GETLK, &lock) == 0 && lock.l_pid > 0) lock 281 src/simh/sim_fio.c (unsigned long)lock.l_pid);