- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel_private.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
r6a77224 re235429 39 39 ; 40 40 41 // release/wake-up the following resources42 void __ thread_finish( $thread * thrd);41 //Block current thread and release/wake-up the following resources 42 void __leave_thread() __attribute__((noreturn)); 43 43 44 44 //----------------------------------------------------------------------------- … … 65 65 // KERNEL ONLY unpark with out disabling interrupts 66 66 void __unpark( struct __processor_id_t *, $thread * thrd ); 67 68 #define TICKET_BLOCKED (-1) // thread is blocked69 #define TICKET_RUNNING ( 0) // thread is running70 #define TICKET_UNBLOCK ( 1) // thread should ignore next block71 67 72 68 static inline bool __post(single_sem & this, struct __processor_id_t * id) {
Note:
See TracChangeset
for help on using the changeset viewer.