Changeset 7f122e3 in mainline
- Timestamp:
- 2010-10-19T18:54:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 525df28
- Parents:
- 3e20fd48
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/fibril.c
r3e20fd48 r7f122e3 275 275 fibril->func = func; 276 276 fibril->arg = arg; 277 278 fibril->waits_for = NULL; 277 279 278 280 context_save(&fibril->ctx); -
uspace/lib/c/include/fibril.h
r3e20fd48 r7f122e3 48 48 #define FIBRIL_WRITER 2 49 49 50 struct fibril; 51 52 typedef struct { 53 struct fibril *owned_by; 54 } fibril_owner_info_t; 55 50 56 typedef enum { 51 57 FIBRIL_PREEMPT, … … 68 74 int retval; 69 75 int flags; 76 77 fibril_owner_info_t *waits_for; 70 78 } fibril_t; 71 79 -
uspace/lib/c/include/fibril_synch.h
r3e20fd48 r7f122e3 41 41 #include <libarch/tls.h> 42 42 #include <sys/time.h> 43 44 typedef struct {45 fibril_t *owned_by;46 } fibril_owner_info_t;47 43 48 44 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.