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


Ignore:
Timestamp:
2009-07-11T15:14:56Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b2c458c
Parents:
4c467ee
Message:

Things are much easier when the compiler knows that context_save() returns twice.

File:
1 edited

Legend:

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

    r4c467ee rec8b0dac  
    7676#define fibril_local __thread
    7777
    78 extern int context_save(context_t *c);
     78extern int context_save(context_t *c) __attribute__ ((returns_twice));
    7979extern void context_restore(context_t *c) __attribute__ ((noreturn));
    8080
Note: See TracChangeset for help on using the changeset viewer.