Searched refs:sem (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libc/port/rt/
H A Dsem.c44 char sad_name[PATH_MAX + 1]; /* name of sem object */
58 sem_t *sem = NULL; local
129 /* new sem descriptor to be allocated and new address to be mapped */
136 sem = (sem_t *)mmap64(NULL, sizeof (sem_t), PROT_READ|PROT_WRITE,
140 if (sem == MAP_FAILED)
146 error = sema_init((sema_t *)sem, value, USYNC_PROCESS, 0);
158 next->sad_addr = sem;
162 return (sem);
174 (void) munmap((caddr_t)sem, sizeof (sem_t));
181 sem_close(sem_t *sem) argument
232 sem_invalid(sem_t *sem) argument
242 sem_init(sem_t *sem, int pshared, uint_t value) argument
255 sem_destroy(sem_t *sem) argument
269 sem_post(sem_t *sem) argument
283 sem_wait(sem_t *sem) argument
297 sem_timedwait(sem_t *sem, const timespec_t *abstime) argument
313 sem_reltimedwait_np(sem_t *sem, const timespec_t *reltime) argument
329 sem_trywait(sem_t *sem) argument
345 sem_getvalue(sem_t *sem, int *sval) argument
[all...]
H A Dmqueue.c133 #define MQ_ASSERT_SEMVAL_LEQ(sem, val) { \
135 (void) sem_getvalue((sem), &_val); \
140 #define MQ_ASSERT_SEMVAL_LEQ(sem, val)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IPC/SysV/t/
H A Dipcsysv.t26 # Later the sem* tests will import more for themselves.
34 my $sem;
36 $SIG{__DIE__} = 'cleanup'; # will cleanup $msg and $sem if needed
154 $sem = semget(IPC_PRIVATE, 10, $perm | IPC_CREAT);
156 die "semget: $!\n" unless defined($sem) && $sem >= 0;
161 semctl($sem,0,IPC_STAT,$data) or print "not ";
169 semctl($sem,0,SETALL,pack("s!*",(0) x $nsem)) or print "not ";
173 semctl($sem,0,GETALL,$data) or print "not ";
189 semctl($sem,
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IPC/SysV/
H A DSemaphore.pm57 @_ == 2 || croak '$sem->getncnt( SEM )';
59 my $sem = shift;
60 my $v = semctl($$self,$sem,GETNCNT,0);
65 @_ == 2 || croak '$sem->getzcnt( SEM )';
67 my $sem = shift;
68 my $v = semctl($$self,$sem,GETZCNT,0);
73 @_ == 2 || croak '$sem->getval( SEM )';
75 my $sem = shift;
76 my $v = semctl($$self,$sem,GETVAL,0);
81 @_ == 2 || croak '$sem
[all...]
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dsem.h9 * $Id: sem.h,v 1.10 2008/05/30 16:26:39 ca Exp $
25 # include <sys/sem.h>
/osnet-11/usr/src/cmd/sendmail/libsm/
H A DMakefile44 sem.o shm.o signal.o smstdio.o snprintf.o sscanf.o stdio.o \
52 t-fopen t-strl t-strrevcmp t-path t-float t-scanf t-sem t-shm \
H A Dsem.c11 SM_RCSID("@(#)$Id: sem.c,v 1.14 2008/05/30 16:26:38 ca Exp $")
17 # include <sm/sem.h>
H A Dt-sem.c11 SM_RCSID("@(#)$Id: t-sem.c,v 1.17 2008/05/30 16:26:38 ca Exp $")
23 # include <sm/sem.h>
/osnet-11/usr/src/lib/libima/common/
H A Dsunima-lib.c28 #include <sys/sem.h>
H A Dima-lib.c40 #include <sys/sem.h>
47 // #include <sys/sem.h>
320 /* <sys/sem.h> */
/osnet-11/usr/src/lib/libc/port/sys/
H A Dsemsys.c43 #include <sys/sem.h>
/osnet-11/usr/src/lib/libc/i386/
H A DMakefile.com757 sem.o \
/osnet-11/usr/src/lib/libc/sparc/
H A DMakefile.com790 sem.o \
/osnet-11/usr/src/lib/libc/sparcv9/
H A DMakefile.com739 sem.o \
/osnet-11/usr/src/lib/libc/amd64/
H A DMakefile717 sem.o \
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dconfig_h.SH1873 * This symbol, if defined, indicates that the entire sem*(2) library is
2042 * defined by including <sys/sem.h>. If not, the user code
H A Dperl.h4111 # include <sys/sem.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/I18N/LangTags/
H A DList.pm1366 =item [{sem} : Semitic (Other)]
/osnet-11/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c57 #include <sys/sem.h>
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc124 #include <sys/sem.h>
/osnet-11/usr/src/cmd/sendmail/src/
H A Dqueue.c15 #include <sm/sem.h>

Completed in 110 milliseconds