Subversion Repositories HelenOS

Rev

Rev 4526 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4526 Rev 4528
Line 70... Line 70...
70
    int retval;
70
    int retval;
71
    int flags;
71
    int flags;
72
};
72
};
73
typedef struct fibril fibril_t;
73
typedef struct fibril fibril_t;
74
 
74
 
-
 
75
/** Fibril-local variable specifier */
-
 
76
#define fibril_local __thread
-
 
77
 
75
extern int context_save(context_t *c);
78
extern int context_save(context_t *c);
76
extern void context_restore(context_t *c) __attribute__ ((noreturn));
79
extern void context_restore(context_t *c) __attribute__ ((noreturn));
77
 
80
 
78
extern fid_t fibril_create(int (*func)(void *), void *arg);
81
extern fid_t fibril_create(int (*func)(void *), void *arg);
79
extern fibril_t *fibril_setup(void);
82
extern fibril_t *fibril_setup(void);