Changes in kernel/generic/src/synch/futex.c [c0699467:0ff03f3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/futex.c
rc0699467 r0ff03f3 39 39 #include <synch/mutex.h> 40 40 #include <synch/spinlock.h> 41 #include <synch/synch.h> 41 42 #include <mm/frame.h> 42 43 #include <mm/page.h> … … 271 272 void futex_cleanup(void) 272 273 { 274 link_t *cur; 275 273 276 mutex_lock(&futex_ht_lock); 274 277 mutex_lock(&TASK->futexes_lock); 275 278 276 list_foreach(TASK->futexes.leaf_list, cur) { 279 for (cur = TASK->futexes.leaf_head.next; 280 cur != &TASK->futexes.leaf_head; cur = cur->next) { 277 281 btree_node_t *node; 278 282 unsigned int i;
Note:
See TracChangeset
for help on using the changeset viewer.