Changeset 3bacee1 in mainline for kernel/generic/src/synch/futex.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/futex.c
r76d0981d r3bacee1 171 171 /* Invoke the blocking cht_destroy in the background. */ 172 172 workq_global_enqueue_noblock(&task->futexes->destroy_work, 173 173 destroy_task_cache); 174 174 } else { 175 175 /* We can block. Invoke cht_destroy in this thread. */ … … 182 182 { 183 183 struct futex_cache *cache = 184 184 member_to_inst(work, struct futex_cache, destroy_work); 185 185 186 186 /* … … 319 319 320 320 if (futex_ptr_link) { 321 futex_ptr_t *futex_ptr 322 =member_to_inst(futex_ptr_link, futex_ptr_t, cht_link);321 futex_ptr_t *futex_ptr = 322 member_to_inst(futex_ptr_link, futex_ptr_t, cht_link); 323 323 324 324 futex = futex_ptr->futex; … … 485 485 static size_t task_fut_ht_key_hash(void *key) 486 486 { 487 return *(uintptr_t *)key;487 return *(uintptr_t *)key; 488 488 } 489 489 … … 499 499 { 500 500 const futex_ptr_t *fut_ptr = member_to_inst(item, futex_ptr_t, cht_link); 501 uintptr_t uaddr = *(uintptr_t *)key;501 uintptr_t uaddr = *(uintptr_t *)key; 502 502 503 503 return fut_ptr->uaddr == uaddr;
Note:
See TracChangeset
for help on using the changeset viewer.