Commit dc6b4f47 authored by Austin Clements's avatar Austin Clements

Zero thread structure so we don't continue with a bogus

signal.

R=rsc
APPROVED=rsc
DELTA=1  (1 added, 0 deleted, 0 changed)
OCL=33249
CL=33296
parent 92e8b121
......@@ -199,6 +199,7 @@ attachthread(int pid, int tid, int *new, int newstate)
t = malloc(sizeof *t);
if(t == nil)
return nil;
memset(t, 0, sizeof *t);
thr[nthr++] = t;
t->pid = pid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment