rio, kbdfs: increase read buffer for high latency kbdfs support
This commit is contained in:
parent
95c166fc35
commit
4eee8f13cf
2 changed files with 8 additions and 8 deletions
|
@ -1575,13 +1575,13 @@ threadmain(int argc, char** argv)
|
|||
consreqchan = chancreate(sizeof(Req*), 0);
|
||||
kbdreqchan = chancreate(sizeof(Req*), 0);
|
||||
|
||||
keychan = chancreate(sizeof(Key), 8);
|
||||
mctlchan = chancreate(sizeof(Key), 8);
|
||||
keychan = chancreate(sizeof(Key), 64);
|
||||
mctlchan = chancreate(sizeof(Key), 64);
|
||||
ctlchan = chancreate(sizeof(int), 0);
|
||||
rawchan = chancreate(sizeof(Rune), 0);
|
||||
runechan = chancreate(sizeof(Rune), 32);
|
||||
conschan = chancreate(sizeof(char*), 16);
|
||||
kbdchan = chancreate(sizeof(char*), 16);
|
||||
runechan = chancreate(sizeof(Rune), 256);
|
||||
conschan = chancreate(sizeof(char*), 128);
|
||||
kbdchan = chancreate(sizeof(char*), 128);
|
||||
intchan = chancreate(sizeof(int), 0);
|
||||
|
||||
threadpostmountsrv(&fs, sname, mntpt, MBEFORE);
|
||||
|
|
|
@ -1157,7 +1157,7 @@ new(Image *i, int hideit, int scrollit, int pid, char *dir, char *cmd, char **ar
|
|||
hidden[nhidden++] = w;
|
||||
w->screenr = ZR;
|
||||
}
|
||||
threadcreate(winctl, w, 8192);
|
||||
threadcreate(winctl, w, STACK);
|
||||
if(!hideit)
|
||||
wcurrent(w);
|
||||
if(pid == 0){
|
||||
|
@ -1170,7 +1170,7 @@ new(Image *i, int hideit, int scrollit, int pid, char *dir, char *cmd, char **ar
|
|||
else
|
||||
arg[3] = argv;
|
||||
arg[4] = dir;
|
||||
proccreate(winshell, arg, 8192);
|
||||
proccreate(winshell, arg, STACK);
|
||||
pid = recvul(cpid);
|
||||
free(arg);
|
||||
}
|
||||
|
@ -1194,7 +1194,7 @@ static void
|
|||
kbdproc(void *arg)
|
||||
{
|
||||
Channel *c = arg;
|
||||
char buf[128], *p, *e;
|
||||
char buf[1024], *p, *e;
|
||||
int fd, cfd, kfd, n;
|
||||
|
||||
threadsetname("kbdproc");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue