Changeset 3562ec82 in mainline
- Timestamp:
- 2009-06-10T19:09:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95ba2b8
- Parents:
- 0d3b9474
- Location:
- uspace/lib/libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/fibril.c
r0d3b9474 r3562ec82 317 317 /** Return fibril id of the currently running fibril. 318 318 * 319 * @return Fibril ID of the currently running fibril. 319 * @return fibril ID of the currently running fibril. 320 * 320 321 */ 321 322 fid_t fibril_get_id(void) … … 324 325 } 325 326 326 /** Disable preemption 327 /** Disable preemption 327 328 * 328 329 * If the fibril wants to send several message in a row and does not want to be … … 330 331 * communication and async_serialize_end() in the end. If it is a true 331 332 * multithreaded application, it should protect the communication channel by a 332 * futex as well. Interrupt messages can still be preempted. 333 * futex as well. 334 * 333 335 */ 334 336 void fibril_inc_sercount(void) -
uspace/lib/libc/include/fibril_sync.h
r0d3b9474 r3562ec82 56 56 57 57 typedef struct { 58 fibril_mutex_t 58 fibril_mutex_t fm; 59 59 } fibril_rwlock_t; 60 60
Note:
See TracChangeset
for help on using the changeset viewer.