Re: [9fans] syscall silently kill processes

2022-06-21 Thread andrey100100100
В Вт, 21/06/2022 в 11:26 +, adr пишет: > On Tue, 21 Jun 2022, andrey100100...@gmail.com wrote: > > ? ??, 20/06/2022 ? 15:29 -0700, Skip Tavakkolian ?: > > > It's cleaner to use channels with separate io and timer threads > > > that > > > do their syscalls via ioproc; this one doesn't

Re: [9fans] syscall silently kill processes

2022-06-21 Thread adr
On Tue, 21 Jun 2022, andrey100100...@gmail.com wrote: For example, let's remove note.c. You could obtain the same result Just for clarity, you actually don't need to remove note.c to do what I said below. in your example (all processes using the same handler) using atnotify because the

Re: [9fans] syscall silently kill processes

2022-06-21 Thread andrey100100100
В Вт, 21/06/2022 в 11:26 +, adr пишет: > On Tue, 21 Jun 2022, andrey100100...@gmail.com wrote: > > ? ??, 20/06/2022 ? 15:29 -0700, Skip Tavakkolian ?: > > > It's cleaner to use channels with separate io and timer threads > > > that > > > do their syscalls via ioproc; this one doesn't

Re: [9fans] syscall silently kill processes

2022-06-21 Thread adr
On Tue, 21 Jun 2022, andrey100100...@gmail.com wrote: ? ??, 20/06/2022 ? 15:29 -0700, Skip Tavakkolian ?: It's cleaner to use channels with separate io and timer threads that do their syscalls via ioproc; this one doesn't require any changes to libthread:

Re: [9fans] syscall silently kill processes

2022-06-21 Thread adr
On Mon, 20 Jun 2022, Skip Tavakkolian wrote: It's cleaner to use channels with separate io and timer threads that do their syscalls via ioproc; this one doesn't require any changes to libthread: https://gist.github.com/9nut/aaa9b9b6a22d69996b75ccdc6e615c61 Nice example, but I strongly

Re: [9fans] syscall silently kill processes

2022-06-21 Thread andrey100100100
В Пн, 20/06/2022 в 15:29 -0700, Skip Tavakkolian пишет: > It's cleaner to use channels with separate io and timer threads that > do their syscalls via ioproc; this one doesn't require any changes to > libthread: > > https://gist.github.com/9nut/aaa9b9b6a22d69996b75ccdc6e615c61 Thanks for the