mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-15 00:22:23 -07:00
exclusively lock search stripe when taking task & bumping work refcount
This commit is contained in:
+1
-1
@@ -1354,7 +1354,7 @@ di_search_thread__entry_point(void *p)
|
||||
String8 query = {0};
|
||||
DI_SearchParams params = {0};
|
||||
U64 initial_bucket_write_gen = 0;
|
||||
OS_MutexScopeR(stripe->rw_mutex)
|
||||
OS_MutexScopeW(stripe->rw_mutex)
|
||||
{
|
||||
for(DI_SearchNode *n = slot->first; n != 0; n = n->next)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user