InternPool: implement thread-safe hash map
This commit is contained in:
@@ -291,3 +291,7 @@ pub fn waitAndWork(pool: *Pool, wait_group: *WaitGroup) void {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
pub fn getIdCount(pool: *Pool) usize {
|
||||
return 1 + pool.threads.len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user