mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
put semaphore waiter in long term list.
This commit is contained in:
parent
2c3b3fef36
commit
4904f91fe0
@ -292,7 +292,7 @@ umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2)
|
||||
static inline struct umtxq_chain *
|
||||
umtxq_getchain(struct umtx_key *key)
|
||||
{
|
||||
if (key->type <= TYPE_CV)
|
||||
if (key->type <= TYPE_SEM)
|
||||
return (&umtxq_chains[1][key->hash]);
|
||||
return (&umtxq_chains[0][key->hash]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user