On Mon, 20 Jun 2022, andrey100100...@gmail.com wrote:
The note 'alarm' is needed to interrupt the system call on timeout since system calls to lan 9 can be of a network nature, a notes is indispensable. A great example of this is the read() system call on a udp-connection. How else can this system call be interrupted?
Start two processes, one which just make the call, another as a timer to kill it. But I have something in mind for a case like this, when all the processes are going to use the same handler (that's why I was asking). Let me play with it a litle before I share it. adr. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfa6823048ad90a21-Mc017bb6a54415db715338ff2 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription