put semaphore waiter in long term list.
This commit is contained in:
parent
2c3b3fef36
commit
4904f91fe0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201886
@ -292,7 +292,7 @@ umtx_key_match(const struct umtx_key *k1, const struct umtx_key *k2)
|
|||||||
static inline struct umtxq_chain *
|
static inline struct umtxq_chain *
|
||||||
umtxq_getchain(struct umtx_key *key)
|
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[1][key->hash]);
|
||||||
return (&umtxq_chains[0][key->hash]);
|
return (&umtxq_chains[0][key->hash]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user