aux/realemu: run cpuproc in same fd group as fileserver
This commit is contained in:
parent
7aaa481f9f
commit
cea9e2267a
1 changed files with 7 additions and 1 deletions
|
@ -736,6 +736,12 @@ fsread(Req *r)
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
fsstart(Srv*)
|
||||
{
|
||||
proccreate(cpuproc, nil, 16*1024);
|
||||
}
|
||||
|
||||
static void
|
||||
fsend(Srv*)
|
||||
{
|
||||
|
@ -743,6 +749,7 @@ fsend(Srv*)
|
|||
}
|
||||
|
||||
static Srv fs = {
|
||||
.start= fsstart,
|
||||
.attach= fsattach,
|
||||
.walk1= fswalk1,
|
||||
.open= fsopen,
|
||||
|
@ -791,6 +798,5 @@ threadmain(int argc, char *argv[])
|
|||
|
||||
reqchan = chancreate(sizeof(Req*), 8);
|
||||
flushchan = chancreate(sizeof(Req*), 8);
|
||||
procrfork(cpuproc, nil, 16*1024, RFNAMEG|RFNOTEG);
|
||||
threadpostmountsrv(&fs, srv, mnt, MBEFORE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue