Rev 198 | Rev 213 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 198 | Rev 212 | ||
---|---|---|---|
Line 360... | Line 360... | ||
360 | break; |
360 | break; |
361 | } |
361 | } |
362 | THREAD = NULL; |
362 | THREAD = NULL; |
363 | } |
363 | } |
364 | 364 | ||
- | 365 | printf("Ahoj"); |
|
365 | THREAD = find_best_thread(); |
366 | THREAD = find_best_thread(); |
- | 367 | // putchar('@'); |
|
- | 368 | printf("Lidi"); |
|
- | 369 | // printf("*1*"); |
|
366 | 370 | ||
367 | spinlock_lock(&THREAD->lock); |
371 | spinlock_lock(&THREAD->lock); |
368 | priority = THREAD->pri; |
372 | priority = THREAD->pri; |
369 | spinlock_unlock(&THREAD->lock); |
373 | spinlock_unlock(&THREAD->lock); |
370 | 374 |