Rev 1288 | Rev 1571 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1288 | Rev 1502 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | /** From here, the stored timeout context is restored when sleep times out. */ |
85 | /** From here, the stored timeout context is restored when sleep times out. */ |
| 86 | context_t sleep_timeout_context; |
86 | context_t sleep_timeout_context; |
| 87 | /** From here, the stored interruption context is restored when sleep is interrupted. */ |
87 | /** From here, the stored interruption context is restored when sleep is interrupted. */ |
| 88 | context_t sleep_interruption_context; |
88 | context_t sleep_interruption_context; |
| 89 | 89 | ||
| - | 90 | bool sleep_interruptible; /**< If true, the thread can be interrupted from sleep. */ |
|
| 90 | waitq_t *sleep_queue; /**< Wait queue in which this thread sleeps. */ |
91 | waitq_t *sleep_queue; /**< Wait queue in which this thread sleeps. */ |
| 91 | timeout_t sleep_timeout; /**< Timeout used for timeoutable sleeping. */ |
92 | timeout_t sleep_timeout; /**< Timeout used for timeoutable sleeping. */ |
| 92 | volatile int timeout_pending; /**< Flag signalling sleep timeout in progress. */ |
93 | volatile int timeout_pending; /**< Flag signalling sleep timeout in progress. */ |
| 93 | 94 | ||
| 94 | /** True if this thread is executing copy_from_uspace(). False otherwise. */ |
95 | /** True if this thread is executing copy_from_uspace(). False otherwise. */ |