Fixed thread pool a bit

Use 128-bit allocator instead of queue.
When pool is full (128), threads just terminate as before.
This commit is contained in:
Nekotekina 2020-11-13 11:32:47 +03:00
parent e48f160a29
commit ab365fe494
4 changed files with 134 additions and 59 deletions

View file

@ -522,6 +522,8 @@ void cpu_thread::operator()()
s_tls_thread_slot = -1;
g_tls_current_cpu_thread = nullptr;
_this = nullptr;
}