[coyotos-dev] AppNotice

Charles Landau clandau at macslab.com
Sat Oct 6 10:43:22 EDT 2007


At 1:36 AM -0400 10/6/07, Jonathan S. Shapiro wrote:
>On Sat, 2007-10-06 at 00:06 +0100, Sam Mason wrote:
>>  > The current design is once again wholly synchronous. The
>>  > only nod to the old problem is the AppEvent capability, which is
>>  > probably good enough to solve those problems.
>>
>>  I don't remember seeing an AppEvent, and a quick grep doesn't either.
>>  Maybe AppNotice?  I'm not sure I see how it helps much though, I'll
>>  think about it some more.
>
>Sorry. AppNotice is the one. It eliminates the need for a helper thread.

That sounds useful, but the documentation is unclear. postNotice is 
mentioned but not documented. Also a couple of typos:
App capability -> AppNotice capability
ones -> once

I'm guessing it's just a word of bits. postNotice or's in bits. 
getNotices waits for the word to be nonzero, then atomically gets the 
word and clears it.


More information about the coyotos-dev mailing list