Changeset b0f00a9 in mainline for kernel/generic/src/synch/futex.c
- Timestamp:
- 2011-11-06T22:21:05Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 898e847
- Parents:
- 2bdf8313 (diff), 7b5f4c9 (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. - File:
-
- 1 edited
-
kernel/generic/src/synch/futex.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/futex.c
r2bdf8313 rb0f00a9 39 39 #include <synch/mutex.h> 40 40 #include <synch/spinlock.h> 41 #include <synch/synch.h>42 41 #include <mm/frame.h> 43 42 #include <mm/page.h> … … 272 271 void futex_cleanup(void) 273 272 { 274 link_t *cur;275 276 273 mutex_lock(&futex_ht_lock); 277 274 mutex_lock(&TASK->futexes_lock); 278 275 279 for (cur = TASK->futexes.leaf_head.next; 280 cur != &TASK->futexes.leaf_head; cur = cur->next) { 276 list_foreach(TASK->futexes.leaf_list, cur) { 281 277 btree_node_t *node; 282 278 unsigned int i;
Note:
See TracChangeset
for help on using the changeset viewer.
