Searched refs:sem_t (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/head/ |
H A D | semaphore.h | 48 } sem_t; typedef 50 #define SEM_FAILED ((sem_t *)(-1)) 55 int sem_init(sem_t *, int, unsigned int); 56 int sem_destroy(sem_t *); 57 sem_t *sem_open(const char *, int, ...); 58 int sem_close(sem_t *); 60 int sem_wait(sem_t *); 69 int sem_timedwait(sem_t *_RESTRICT_KYWD, 71 int sem_reltimedwait_np(sem_t *_RESTRICT_KYWD, 74 int sem_trywait(sem_t *); [all …]
|
/titanic_50/usr/src/lib/libc/port/rt/ |
H A D | sem.c | 48 sem_t *sad_addr; /* mmapped address of semaphore */ 56 sem_t * 61 sem_t *sem = NULL; in sem_open() 111 if (ftruncate64(fd, (off64_t)sizeof (sem_t)) < 0) in sem_open() 140 sem = (sem_t *)mmap64(NULL, sizeof (sem_t), PROT_READ|PROT_WRITE, in sem_open() 178 (void) munmap((caddr_t)sem, sizeof (sem_t)); in sem_open() 185 sem_close(sem_t *sem) in sem_close() 197 return (munmap((caddr_t)sem, sizeof (sem_t))); in sem_close() 236 sem_invalid(sem_t *sem) in sem_invalid() 246 sem_init(sem_t *sem, int pshared, uint_t value) in sem_init() [all …]
|
H A D | sigev_thread.h | 73 sem_t *msg_avail; /* wait for message available */
|
H A D | mqueue.c | 109 sem_t mq_rblocked; /* number of processes rblocked */ 110 sem_t mq_notfull; /* mq_send()'s block on this */ 111 sem_t mq_notempty; /* mq_receive()'s block on this */ 112 sem_t mq_spawner; /* spawner thread blocks on this */
|
/titanic_50/usr/src/cmd/isns/isnsd/ |
H A D | main.c | 70 static sem_t isns_child_sem;
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 316 static sem_t* m2_shm_sem = 0; 350 if ((m2_shm_sem = (sem_t*) shmat(m2_shm_id, 0, 0666)) == (sem_t*)-1) { in m2_init()
|
/titanic_50/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 68 static sem_t iscsi_child_sem;
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 82 sem_t timer_sem;
|