From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 2 Jan 2014 17:31:01 -0500 To: 9fans@9fans.net Message-ID: <14d36fdb195faa18bbf2f6b28553cdaa@mikro> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] devproc noteid changing for none Topicbox-Message-UUID: ab5963de-ead8-11e9-9d60-3106f5b1d025 On Thu Jan 2 16:55:59 EST 2014, cinap_lenrek@felloff.net wrote: > i was investigating all callers of postnote() for bugs that could > lead to spurious notes like the alarm race i described before. btw > this has been fixed too. the key is to recheck p->alarm while holding > p->debug qlock. once you have it, the process cannot exit under you. cool. if that's the protocol, doesn't the debug lock need to be held whenever up->alarm is modified? - erik