mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-10 01:45:41 +00:00
eliminate bifurcated rw lock path based on exclusive mode; promote thread operations to base layer, use os layer as impl; first pass on moving file streaming layer to base layer's async wavefront
This commit is contained in:
@@ -922,7 +922,7 @@ dmn_ctrl_begin(void)
|
||||
internal void
|
||||
dmn_ctrl_exclusive_access_begin(void)
|
||||
{
|
||||
OS_MutexScope(dmn_lnx_state->access_mutex)
|
||||
MutexScope(dmn_lnx_state->access_mutex)
|
||||
{
|
||||
dmn_lnx_state->access_run_state = 1;
|
||||
}
|
||||
@@ -931,7 +931,7 @@ dmn_ctrl_exclusive_access_begin(void)
|
||||
internal void
|
||||
dmn_ctrl_exclusive_access_end(void)
|
||||
{
|
||||
OS_MutexScope(dmn_lnx_state->access_mutex)
|
||||
MutexScope(dmn_lnx_state->access_mutex)
|
||||
{
|
||||
dmn_lnx_state->access_run_state = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user