Rev 4509 | Rev 4528 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4509 | Rev 4526 | ||
|---|---|---|---|
| Line 44... | Line 44... | ||
| 44 | (c)->pc = (sysarg_t) (_pc); \ |
44 | (c)->pc = (sysarg_t) (_pc); \ |
| 45 | (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ |
45 | (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ |
| 46 | (c)->tls = (sysarg_t) (ptls); |
46 | (c)->tls = (sysarg_t) (ptls); |
| 47 | #endif /* context_set */ |
47 | #endif /* context_set */ |
| 48 | 48 | ||
| 49 | #define FIBRIL_SERIALIZED 1 |
49 | #define FIBRIL_SERIALIZED 1 |
| - | 50 | #define FIBRIL_WRITER 2 |
|
| 50 | 51 | ||
| 51 | typedef enum { |
52 | typedef enum { |
| 52 | FIBRIL_PREEMPT, |
53 | FIBRIL_PREEMPT, |
| 53 | FIBRIL_TO_MANAGER, |
54 | FIBRIL_TO_MANAGER, |
| 54 | FIBRIL_FROM_MANAGER, |
55 | FIBRIL_FROM_MANAGER, |