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 12:14:28 -0400 In-Reply-To: <9f691d1a2a08ad4c558f42e502d967ef@9netics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070610161018.D832E1E8C22@holo.morphisms.net> Topicbox-Message-UUID: 7c235c1a-ead2-11e9-9d60-3106f5b1d025 > i handle part of a ns that is exported, with an in-proc > server. i need to be able to post a note to it. why? i know this line of questioning is annoying, but unless you are posting the note to interrupt a system call, it's really not a good idea to have notes flying around in threaded programs. the problem is that notes can come in at arbitrary times and really screw things up in unexpected ways. there is always a better, more coordinated way. and in the case of interrupting a system call you'd be better off using iocall and iointerrupt. russ