lock 252 src/dps8/shm.c struct flock lock; lock 253 src/dps8/shm.c (void)memset(&lock, 0, sizeof ( lock )); lock 254 src/dps8/shm.c lock.l_type = F_WRLCK; lock 258 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 265 src/dps8/shm.c if (fcntl(fd, F_GETLK, &lock) == FALSE && lock.l_pid > 0) lock 269 src/dps8/shm.c (unsigned long)lock.l_pid); lock 369 src/dps8/shm.c struct flock lock; lock 370 src/dps8/shm.c (void)memset(&lock, 0, sizeof ( lock )); lock 371 src/dps8/shm.c lock.l_type = F_WRLCK; lock 375 src/dps8/shm.c rc = fcntl(fd, F_SETLK, &lock); lock 397 src/dps8/shm.c lock.l_type = F_UNLCK; lock 400 src/dps8/shm.c (void)fcntl(fd, F_SETLK, &lock); lock 226 src/dps8/threadz.c void lock_ptr (pthread_mutex_t * lock) lock 229 src/dps8/threadz.c rc = pthread_mutex_lock (lock); lock 234 src/dps8/threadz.c void unlock_ptr (pthread_mutex_t * lock) lock 238 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 260 src/simh/sim_fio.c struct flock lock; lock 261 src/simh/sim_fio.c (void)memset (&lock, 0, sizeof(lock)); lock 262 src/simh/sim_fio.c lock.l_type = F_WRLCK; lock 265 src/simh/sim_fio.c rc = fcntl (fileno(fsc), F_SETLK, &lock); lock 270 src/simh/sim_fio.c if (fcntl(fileno(fsc), F_GETLK, &lock) == 0 && lock.l_pid > 0) lock 272 src/simh/sim_fio.c (unsigned long)lock.l_pid);