From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] getting a pid from threadpostmountsrv From: "Russ Cox" Date: Sun, 10 Jun 2007 15:56:15 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070610195205.C21DC1E8C22@holo.morphisms.net> Topicbox-Message-UUID: 7c5b7eb0-ead2-11e9-9d60-3106f5b1d025 > shouldn't an in-prog fs -- notefs in cpu.c -- be possible with lib9p? > > for snsa ref implementaton, a sibling proc running srv() handles > /dev/sysctl, that controls the workings of the agent. agent needs to > be able to kill the srv proc if the exec'd exportfs dies. sure but you didn't answer the question of why you are sending notes. if you just want to clean up on exit you can use threadexitsall and the right things happen. if you are trying to kill off one proc but not the whole program using a note, you are asking for trouble. russ