From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 9 Aug 2007 20:26:38 -0400 From: Kris Maglione To: 9fans@cse.psu.edu Subject: Re: [9fans] does qlock(2) block all threads on a proc? Message-ID: <20070810002638.GA12549@kris.home> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Topicbox-Message-UUID: a2bbb4da-ead2-11e9-9d60-3106f5b1d025 On Fri, Aug 10, 2007 at 02:14:32AM +0200, david jeannot wrote: >Does qlock block all threads on a same proc? >I read lock(2) and thread(2) but I am not sure yet. There are two very good ways for you to answer that question (lookman aside). One is to investigate the relevant libthread and libc code. The other is to test it yourself. Both are simple and quick. I don't know of a better way to learn than investigation. -- Kris Maglione Beware of the physician who is great at getting out of trouble.