Save a lock: Grab the stall_events SX lock exclusively so it also serialize
OAM reqests.
This commit is contained in:
parent
969a2c228e
commit
dc9d8429c2
@ -81,14 +81,14 @@ void
|
||||
g_stall_events(void)
|
||||
{
|
||||
|
||||
sx_slock(&g_eventstall);
|
||||
sx_xlock(&g_eventstall);
|
||||
}
|
||||
|
||||
void
|
||||
g_release_events(void)
|
||||
{
|
||||
|
||||
sx_sunlock(&g_eventstall);
|
||||
sx_xunlock(&g_eventstall);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user