diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 19:39:01 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-08 19:39:01 +0000 |
commit | a38ef5ce7dbb509d4f2af23af4b6967efb57f6e5 (patch) | |
tree | 184c7b2f6ac5faf8c24a3632deda561bc96d2824 | |
parent | 1a94fb2e49b12353ffffa1f8e6186d38752350cc (diff) |
Formerly sched.c.~11~
-rw-r--r-- | pfinet/sched.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pfinet/sched.c b/pfinet/sched.c index ecbffaf2..4f3b33d8 100644 --- a/pfinet/sched.c +++ b/pfinet/sched.c @@ -87,3 +87,14 @@ become_task (struct sock_user *user) current->state = TASK_RUNNING; current->isroot = user->isroot; } + +void +become_task_protid (struct trivfs_protid *protid) +{ + current->pgrp = current->pid = 0; + current->flags = 0; + current->timeout = 0; + current->signal = current->blocked = 0; + current->state = TASK_RUNNING; + current->isroot = protid->isroot; +} |