Rev 3601 | Rev 3613 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3601 | Rev 3604 | ||
|---|---|---|---|
| Line 167... | Line 167... | ||
| 167 | } udebug_task_t; |
167 | } udebug_task_t; |
| 168 | 168 | ||
| 169 | /** Debugging part of thread_t structure. |
169 | /** Debugging part of thread_t structure. |
| 170 | */ |
170 | */ |
| 171 | typedef struct { |
171 | typedef struct { |
| 172 | /** |
- | |
| 173 | * Prevent deadlock with udebug_before_thread_runs() in interrupt |
- | |
| 174 | * handler, without actually disabling interrupts. |
- | |
| 175 | * ==0 means "unlocked", >0 means "locked" |
- | |
| 176 | */ |
- | |
| 177 | atomic_t int_lock; |
- | |
| 178 | - | ||
| 179 | /** Synchronize debug ops on this thread / access to this structure. */ |
172 | /** Synchronize debug ops on this thread / access to this structure. */ |
| 180 | mutex_t lock; |
173 | mutex_t lock; |
| 181 | 174 | ||
| 182 | waitq_t go_wq; |
175 | waitq_t go_wq; |
| 183 | call_t *go_call; |
176 | call_t *go_call; |