Dan Sugalski <[EMAIL PROTECTED]> wrote: > An unsolicited event, on the other hand, is one that parrot generates > as the result of something happening external to itself, or as the > result of some recurring event happening. Signals and GUI events, for > example, are unsolicted as are recurring timer events.
I don't think that there is much difference between these two types of events. You don't get signals if you don't do the appropriate sigaction call. You ask the OS for an one-shot timer or for a recurring one, so you'll get one or more events. That's all known. > There are four big differences between solicited and unsolicited > events: That's adding some unneeded restrictions IMHO. > 3) A solicited event may have a callback and user data associated > with it, an unsolicited event may not. E.g. this looks like that you can't run a user handler on a repeated timer. > IO Ops Uri did already comment on seek/tell. Some of the *handler ops probably need some more explanation. leo