lock 273 src/dps8/shm.c struct flock lock; lock 274 src/dps8/shm.c memset(&lock, 0, sizeof ( lock )); lock 275 src/dps8/shm.c lock.l_type = F_WRLCK; lock 279 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 290 src/dps8/shm.c if (fcntl(fd, F_GETLK, &lock) == FALSE && lock.l_pid > 0) lock 295 src/dps8/shm.c (unsigned long)lock.l_pid); lock 432 src/dps8/shm.c struct flock lock; lock 433 src/dps8/shm.c memset(&lock, 0, sizeof ( lock )); lock 434 src/dps8/shm.c lock.l_type = F_WRLCK; lock 438 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 460 src/dps8/shm.c lock.l_type = F_UNLCK; lock 463 src/dps8/shm.c (void)fcntl(fd, F_SETLK, &lock); lock 246 src/dps8/threadz.c void lock_ptr (pthread_mutex_t * lock) lock 249 src/dps8/threadz.c rc = pthread_mutex_lock (lock); lock 254 src/dps8/threadz.c void unlock_ptr (pthread_mutex_t * lock) lock 258 src/dps8/threadz.c rc = pthread_mutex_unlock (lock); lock 98 src/dps8/threadz.h void lock_ptr (pthread_mutex_t * lock); lock 99 src/dps8/threadz.h void unlock_ptr (pthread_mutex_t * lock); lock 261 src/simh/sim_fio.c struct flock lock; lock 262 src/simh/sim_fio.c memset (&lock, 0, sizeof(lock)); lock 263 src/simh/sim_fio.c lock.l_type = F_WRLCK; lock 266 src/simh/sim_fio.c rc = fcntl (fileno(fsc), F_SETLK, &lock); lock 271 src/simh/sim_fio.c if (fcntl(fileno(fsc), F_GETLK, &lock) == 0 && lock.l_pid > 0) lock 273 src/simh/sim_fio.c (unsigned long)lock.l_pid);