diff options
author | rsc <devnull@localhost> | 2004-12-27 18:21:58 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 18:21:58 +0000 |
commit | 955a2ca78d7efc2787864e38a3d902df16fc2541 (patch) | |
tree | 2767b679277c77550c9c993debff87c4761108cd /src/libthread/thread.c | |
parent | e127e40bb1327662a05f5b70dd1bbca5c69b042c (diff) | |
download | plan9port-955a2ca78d7efc2787864e38a3d902df16fc2541.tar.gz plan9port-955a2ca78d7efc2787864e38a3d902df16fc2541.tar.bz2 plan9port-955a2ca78d7efc2787864e38a3d902df16fc2541.zip |
starting to work on Linux
Diffstat (limited to 'src/libthread/thread.c')
-rw-r--r-- | src/libthread/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c index 4116ac22..8f838b62 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -184,7 +184,9 @@ scheduler(Proc *p) if(p->nthread == 0) goto Out; p->runrend.l = &p->lock; +print("sleep for jobs %d\n", getpid()); _procsleep(&p->runrend); +print("wake from jobs %d\n", getpid()); } delthread(&p->runqueue, t); unlock(&p->lock); |