Changeset 8119363 in mainline for kernel/generic/include
- Timestamp:
- 2018-06-26T17:35:40Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e569bf
- Parents:
- fbfe59d (diff), e768aea (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- kernel/generic/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
rfbfe59d r8119363 112 112 /** If true, the thread can be interrupted from sleep. */ 113 113 bool sleep_interruptible; 114 115 /** 116 * If true, and this thread's sleep returns without a wakeup 117 * (timed out or interrupted), waitq ignores the next wakeup. 118 * This is necessary for futex to be able to handle those conditions. 119 */ 120 bool sleep_composable; 121 114 122 /** Wait queue in which this thread sleeps. */ 115 123 waitq_t *sleep_queue; -
kernel/generic/include/synch/futex.h
rfbfe59d r8119363 53 53 54 54 extern void futex_init(void); 55 extern sys_errno_t sys_futex_sleep(uintptr_t );55 extern sys_errno_t sys_futex_sleep(uintptr_t, uintptr_t); 56 56 extern sys_errno_t sys_futex_wakeup(uintptr_t); 57 57 -
kernel/generic/include/synch/waitq.h
rfbfe59d r8119363 62 62 int missed_wakeups; 63 63 64 /** Number of wakeups that need to be ignored due to futex timeout. */ 65 int ignore_wakeups; 66 64 67 /** List of sleeping threads for which there was no missed_wakeup. */ 65 68 list_t sleepers;
Note:
See TracChangeset
for help on using the changeset viewer.