Changeset 09ab0a9a in mainline for kernel/generic/src/synch/futex.c
- Timestamp:
- 2018-09-13T12:05:53Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/futex.c
rb2aaaa0 r09ab0a9a 94 94 } futex_ptr_t; 95 95 96 97 96 static void destroy_task_cache(work_t *work); 98 97 … … 116 115 static bool task_fut_ht_equal(const cht_link_t *item1, const cht_link_t *item2); 117 116 static bool task_fut_ht_key_equal(void *key, const cht_link_t *item); 118 119 117 120 118 /** Mutex protecting the global futex hash table. … … 226 224 } 227 225 228 229 226 /** Initialize the kernel futex structure. 230 227 * … … 284 281 return get_and_cache_futex(paddr, uaddr); 285 282 } 286 287 283 288 284 /** Finds the physical address of the futex variable. */ … … 331 327 return futex; 332 328 } 333 334 329 335 330 /** … … 448 443 } 449 444 450 451 445 /** Return the hash of the key stored in the item */ 452 446 size_t futex_ht_hash(const ht_link_t *item)
Note:
See TracChangeset
for help on using the changeset viewer.