Rev 2927 | Rev 3694 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 3674 | ||
---|---|---|---|
Line 188... | Line 188... | ||
188 | } |
188 | } |
189 | spinlock_unlock(&THREAD->lock); |
189 | spinlock_unlock(&THREAD->lock); |
190 | 190 | ||
191 | if (!ticks && !PREEMPTION_DISABLED) { |
191 | if (!ticks && !PREEMPTION_DISABLED) { |
192 | scheduler(); |
192 | scheduler(); |
- | 193 | #ifdef CONFIG_UDEBUG |
|
- | 194 | /* |
|
- | 195 | * Give udebug chance to stop the thread |
|
- | 196 | * before it begins executing. |
|
- | 197 | */ |
|
- | 198 | if (istate_from_uspace(THREAD->udebug.uspace_state)) |
|
- | 199 | udebug_before_thread_runs(); |
|
- | 200 | #endif |
|
193 | } |
201 | } |
194 | } |
202 | } |
195 | 203 | ||
196 | } |
204 | } |
197 | 205 |