Ignore:
File:
1 edited

Legend:

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

    r7f122e3 re9460aa  
    4343
    4444typedef struct {
    45         fibril_owner_info_t oi;         /* Keep this the first thing. */
    4645        int counter;
    4746        link_t waiters;
     
    5049#define FIBRIL_MUTEX_INITIALIZER(name) \
    5150        { \
    52                 .oi = { \
    53                         .owned_by = NULL \
    54                 }, \
    5551                .counter = 1, \
    5652                .waiters = { \
     
    6460
    6561typedef struct {
    66         fibril_owner_info_t oi; /* Keep this the first thing. */
    6762        unsigned writers;
    6863        unsigned readers;
     
    7267#define FIBRIL_RWLOCK_INITIALIZER(name) \
    7368        { \
    74                 .oi = { \
    75                         .owned_by = NULL \
    76                 }, \
    7769                .readers = 0, \
    7870                .writers = 0, \
Note: See TracChangeset for help on using the changeset viewer.