fixed linux thread_memory

This commit is contained in:
Allen Webster 2017-05-22 16:30:53 -04:00
parent 4630154eaa
commit 8dd4067574
1 changed files with 1 additions and 1 deletions

View File

@ -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];