Changeset 1de92fb0 in mainline for uspace/lib/c/include/fibril_synch.h
- Timestamp:
- 2018-08-01T18:15:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f787c8e
- Parents:
- 6340b4d2
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-31 22:01:34)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 18:15:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril_synch.h
r6340b4d2 r1de92fb0 50 50 * - may not use any other synchronization primitive, 51 51 * save for another `fibril_rmutex_t`. This includes nonblocking 52 * operations like cvar signal and mutex unlock. 52 * operations like cvar signal and mutex unlock, unless otherwise 53 * specified. 53 54 * - may not read IPC messages 54 55 * - may not start a new thread/fibril … … 245 246 extern void fibril_semaphore_close(fibril_semaphore_t *); 246 247 248 typedef struct mpsc mpsc_t; 249 extern mpsc_t *mpsc_create(size_t); 250 extern void mpsc_destroy(mpsc_t *); 251 extern errno_t mpsc_send(mpsc_t *, const void *); 252 extern errno_t mpsc_receive(mpsc_t *, void *, const struct timeval *); 253 extern void mpsc_close(mpsc_t *); 254 247 255 #endif 248 256
Note:
See TracChangeset
for help on using the changeset viewer.