Roderic Morris
2011-06-14 22:11:08 UTC
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?
-Roderic
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?
-Roderic