No more malloc or lock inside signal handlers.

This commit is contained in:
rsc 2004-04-21 04:48:25 +00:00
parent ac0e2db600
commit 175b8a534a
6 changed files with 78 additions and 55 deletions

View file

@ -12,7 +12,7 @@ rendezvous(ulong tag, ulong val)
ulong ret;
Uproc *t, *self, **l;
self = _p9uproc();
self = _p9uproc(0);
lock(&rendlock);
l = &rendhash[tag%RENDHASH];
for(t=*l; t; l=&t->rendhash, t=*l){