mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-23 04:04:59 -07:00
remove double init and equip of thread contexts
This commit is contained in:
committed by
Ryan Fleury
parent
aae3874521
commit
f055267e59
@@ -31,7 +31,6 @@ tp_run_tasks(TP_Context *pool, TP_Worker *worker)
|
||||
internal void
|
||||
tp_worker_main(void *raw_worker)
|
||||
{
|
||||
TCTX tctx_; tctx_init_and_equip(&tctx_);
|
||||
TP_Worker *worker = raw_worker;
|
||||
TP_Context *pool = worker->pool;
|
||||
for (; pool->is_live; ) {
|
||||
@@ -44,7 +43,6 @@ tp_worker_main(void *raw_worker)
|
||||
internal void
|
||||
tp_worker_main_shared(void *raw_worker)
|
||||
{
|
||||
TCTX tctx_; tctx_init_and_equip(&tctx_);
|
||||
TP_Worker *worker = raw_worker;
|
||||
TP_Context *pool = worker->pool;
|
||||
for (; pool->is_live; ) {
|
||||
|
||||
Reference in New Issue
Block a user