Changeset 7f122e3 in mainline for uspace/lib/c/include/fibril.h


Ignore:
Timestamp:
2010-10-19T18:54:50Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
525df28
Parents:
3e20fd48
Message:

Add info for tracking what fibril synchronization onject a fibril waits for.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/fibril.h

    r3e20fd48 r7f122e3  
    4848#define FIBRIL_WRITER      2
    4949
     50struct fibril;
     51
     52typedef struct {
     53        struct fibril *owned_by;
     54} fibril_owner_info_t;
     55
    5056typedef enum {
    5157        FIBRIL_PREEMPT,
     
    6874        int retval;
    6975        int flags;
     76
     77        fibril_owner_info_t *waits_for;
    7078} fibril_t;
    7179
Note: See TracChangeset for help on using the changeset viewer.