fixed linux thread_memory
This commit is contained in:
parent
4630154eaa
commit
8dd4067574
|
@ -2911,7 +2911,7 @@ main(int argc, char **argv){
|
||||||
thread->group_id = BACKGROUND_THREADS;
|
thread->group_id = BACKGROUND_THREADS;
|
||||||
|
|
||||||
Thread_Memory *memory = linuxvars.thread_memory + i;
|
Thread_Memory *memory = linuxvars.thread_memory + i;
|
||||||
*memory = thread_memory_zero();
|
*memory = null_thread_memory;
|
||||||
memory->id = thread->id;
|
memory->id = thread->id;
|
||||||
|
|
||||||
thread->queue = &linuxvars.queues[BACKGROUND_THREADS];
|
thread->queue = &linuxvars.queues[BACKGROUND_THREADS];
|
||||||
|
|
Loading…
Reference in New Issue