Rudiments

semaphoreset.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 private:
5 void createOperations();
6
7 // FIXME: it should be possible to copy a semaphoreset
8 semaphoreset(const semaphoreset &s);
9 semaphoreset &operator=(const semaphoreset &s);
10
11 int32_t semGet(key_t key, int32_t nsems,
12 int32_t semflg, const int32_t *values);
13 int32_t semControl(semaphoresetprivate *pvt, int32_t semnum,
14 int32_t cmd, semun *semctlun);
15 bool semTimedOp(struct sembuf *sops,
16 int32_t seconds,
17 int32_t nanoseconds);
18 bool semOp(struct sembuf *sops);
19
20 semaphoresetprivate *pvt;
semaphoreset
Definition: semaphoreset.h:44