Re: scheduler event-types

Roderic Morris <[email protected]> Sun, 19 Jun 2011 11:56:51 -0400
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
On Jun 14, 2011, at 6:11 PM, Roderic Morris wrote:

> I everyone, I'm planning to add a new event-type to s48's scheduling system that would allow users to block without contributing to deadlock detection (for instance, when waiting for an OS signal). I'd also like to write a scheduler that implements the narrowing event form the last scsh release, but without modifying s48 itself.
> 
> The second goal seems to be blocked by the fact that the event-types are a closed set. Is user code expected to use the upcall event, with some sort of token as the first argument to create their own events? I'll go forward with that solution if that's the case. I'm curious though; why are event-types are an enumeration, instead of just symbols or something similar?

I wanna start this while I have some momentum, so I'll just use upcall. Hopefully someone who knows will find the time to answer this eventually.

-Roderic