Changeset 26360f7 in mainline for uspace/lib/libc/include/fibril.h


Ignore:
Timestamp:
2009-06-12T19:44:25Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1806e5d
Parents:
9ae22ba
Message:

Use 'fibril_local' modifier for fibril-local variables instead of 'thread'. Since it is decalred in fibril.h, it need not begin with ''.

File:
1 edited

Legend:

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

    r9ae22ba r26360f7  
    7373typedef struct fibril fibril_t;
    7474
     75/** Fibril-local variable specifier */
     76#define fibril_local __thread
     77
    7578extern int context_save(context_t *c);
    7679extern void context_restore(context_t *c) __attribute__ ((noreturn));
Note: See TracChangeset for help on using the changeset viewer.