Home
last modified time | relevance | path

Searched full:semaphores (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd/usr.bin/ipcs/
H A Dipcs.152 displaying active semaphores, message queues,
63 Show the maximum allowed sizes for active semaphores, message queues,
69 or the number of semaphores in a set of semaphores.
71 Show the creator's name and group for active semaphores, message queues,
83 Show the process ID information for active semaphores, message queues,
94 Display information about active semaphores.
96 Show access times for active semaphores, message queues,
120 Display system information about semaphores.
123 and semaphores.
/freebsd/contrib/sendmail/libsm/
H A Dsem.c23 ** SM_SEM_START -- initialize semaphores
26 ** key -- key for semaphores.
27 ** nsem -- number of semaphores.
29 ** owner -- create semaphores.
32 ** id for semaphores.
82 ** SM_SEM_STOP -- stop using semaphores.
85 ** semid -- id for semaphores.
103 ** semid -- id for semaphores.
142 ** semid -- id for semaphores.
186 ** semid -- id for semaphores.
[all …]
H A Dt-sem.c47 ** SEMINTER -- interactive testing of semaphores.
50 ** owner -- create semaphores.
146 ** SEMTEST -- test of semaphores
149 ** owner -- create semaphores.
376 sm_test_begin(argc, argv, "test semaphores");
398 printf("No support for semaphores configured on this machine\n");
/freebsd/share/man/man9/
H A Dsema.959 Counting semaphores provide a mechanism for synchronizing access to a pool of
61 Unlike mutexes, semaphores do not have the concept of an owner, so they can also
69 Semaphores should not be used where mutexes and condition variables
71 Semaphores are a more complex synchronization mechanism than mutexes and
74 Semaphores are created with
84 Semaphores are destroyed with
H A Dlocking.9172 .Ss Counting semaphores
173 Counting semaphores provide a mechanism for synchronizing access
175 Unlike mutexes, semaphores do not have the concept of an owner,
334 counting semaphores, condition variables, and sleep/wakeup.
/freebsd/lib/libsys/
H A Dsemget.245 set of semaphores.
95 If a new set of semaphores is being created,
97 is used to indicate the number of semaphores the set should contain.
128 The number of semaphores requested exceeds the system imposed maximum
133 already exists and contains fewer semaphores than
142 Insufficiently many semaphores are available.
H A Dsemctl.2129 Fetch the value of all of the semaphores in the set into the
133 Set the values of all of the semaphores in the set to the values
136 Outstanding adjust on exit values for all semaphores in this set,
181 is not in the range of valid semaphores for given semaphore set.
/freebsd/share/doc/papers/newvm/
H A D0.t66 in a shared region, processes must be able to use semaphores to
68 these semaphores are provided as a set of system calls. Unfortunately,
71 that places the semaphores in the shared memory segment, so that
H A D1.t274 This serialization is typically done with semaphores.
275 Unfortunately, most implementations of semaphores are
294 In our design, cooperating processes manage their semaphores
325 System V allows entire sets of semaphores to be set concurrently.
329 that serializes access to the set of semaphores being simulated.
330 Once obtained in the usual way, the set of semaphores can be
336 unavailable semaphores for which to wait.
H A Da.t66 #define MAP_HASSEMAPHORE 0x0080 /* region may contain semaphores */
117 regions that may contain semaphores.
187 Primitives are provided for synchronization using semaphores in shared memory.
188 Semaphores must lie within a MAP_SHARED region with at least modes
/freebsd/lib/libc/gen/
H A Dsem_open.3166 .\"Too many semaphores are in use by this process.
172 The system limit on semaphores has been reached.
221 Support for named semaphores first appeared in
H A Dsem.c36 * This is mostly a simple implementation of POSIX semaphores that
46 * semaphores.
48 * Also, this implementation of semaphores cannot really support
49 * real pshared semaphores. The sem_t is an allocated object
56 * of semaphores. The functions sem_wait() and sem_timedwait()
/freebsd/share/doc/psd/05.sysman/
H A D1.2.t90 #define MAP_HASSEMAPHORE 0x0080 /* region may contain semaphores */
142 regions that may contain semaphores.
220 Primitives are provided for synchronization using semaphores in shared memory.
221 Semaphores must lie within a MAP_SHARED region with at least modes
/freebsd/share/man/man4/
H A Dsem.430 .Nd POSIX semaphores
58 semaphores.
/freebsd/tools/regression/posixsem/
H A Dposixsem.c1224 fail_err("Limit of %d semaphores not enforced", nsems_max); in exhaust_unnamed_sems()
1231 TEST(exhaust_unnamed_sems, "exhaust unnamed semaphores (1)");
1279 fail_err("Limit of %d semaphores not enforced", nsems_max); in exhaust_named_sems()
1286 /* Cleanup any semaphores created by the child. */ in exhaust_named_sems()
1292 TEST(exhaust_named_sems, "exhaust named semaphores (1)");
1338 fail_err("Limit of %d semaphores not enforced", nsems_max); in fdlimit_unnamed_sems()
1351 TEST(fdlimit_unnamed_sems, "exhaust unnamed semaphores (2)");
1383 fail_err("Limit of %d semaphores not enforced", nsems_max); in fdlimit_named_sems()
1396 /* Cleanup any semaphores created by the child. */ in fdlimit_named_sems()
1402 TEST(fdlimit_named_sems, "exhaust named semaphores (2)");
/freebsd/contrib/netbsd-tests/lib/libpthread/
H A Dt_sem.c118 atf_tc_set_md_var(tc, "descr", "Checks named semaphores"); in ATF_TC_HEAD()
140 atf_tc_set_md_var(tc, "descr", "Checks unnamed semaphores"); in ATF_TC_HEAD()
278 atf_tc_set_md_var(tc, "descr", "Checks using semaphores without any " in ATF_TC_HEAD()
290 atf_tc_set_md_var(tc, "descr", "Checks using semaphores before " in ATF_TC_HEAD()
/freebsd/sys/kern/
H A Dkern_sema.c31 * Counting semaphores.
34 * "owners" (a misnomer in the context of semaphores), so should not be relied
35 * upon in combination with semaphores.
H A Dsysv_sem.c2 * Implementation of SVID semaphores
73 FEATURE(sysv_sem, "System V semaphores support");
75 static MALLOC_DEFINE(M_SEM, "sem", "SVID compatible semaphores");
159 #define SEMMNS 340 /* # of semaphores in system */
170 #define SEMMSL SEMMNS /* max # of semaphores per id */
200 .semmns = SEMMNS, /* # of semaphores in system */
202 .semmsl = SEMMSL, /* max # of semaphores per id */
213 "Maximum number of semaphores in the system");
217 "Max semaphores per id");
845 * in advance how many semaphores are in this set. in kern_semctl()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Dnvidia,tegra186-hsp.txt9 The features that HSP supported are shared mailboxes, shared semaphores,
10 arbitrated semaphores and doorbells.
H A Dnvidia,tegra186-hsp.yaml22 semaphores, arbitrated semaphores and doorbells.
/freebsd/usr.bin/ipcrm/
H A Dipcrm.144 utility removes the specified message queues, semaphores and shared memory
57 Try to wipe all specified message queues, semaphores and shared
/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c108 "semaphores"); in ATF_TC_HEAD()
116 atf_tc_skip("POSIX semaphores not supported"); in ATF_TC_BODY()
148 atf_tc_set_md_var(tc, "descr", "Checks using semaphores to synchronize " in ATF_TC_HEAD()
162 atf_tc_skip("POSIX semaphores not supported"); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c234 atf_tc_set_md_var(tc, "descr", "tests named semaphores (%s)", LIBNAME); in ATF_TC_HEAD()
265 /* check that semaphores are independent */ in ATF_TC_BODY()
297 atf_tc_set_md_var(tc, "descr", "tests unlinked semaphores can be " in ATF_TC_HEAD()
/freebsd/sys/dev/e1000/
H A De1000_i210.c49 * Acquire the necessary semaphores for exclusive access to the EEPROM.
70 * then release the semaphores acquired.
87 * Uses necessary synchronization semaphores.
97 /* We cannot hold synchronization semaphores for too long, in e1000_read_nvm_srrd_i210()
142 /* We cannot hold synchronization semaphores for too long, in e1000_write_nvm_srwr_i210()
515 * semaphores twice here. in e1000_update_nvm_checksum_i210()
/freebsd/sys/sys/
H A Dsem.h114 int semmns; /* # of semaphores in system */
116 int semmsl; /* max # of semaphores per id */

1234