On Mar 19, 2006, at 0:23, Uri Guttman wrote:
if you look at the rfc's (remember those? :) i wrote on this topic,
you
will see that i proposed just that form of api (not at OO as
these). the
only difference between a sync and async i/o op was the addition of a
callback argument (and an optional timeout arg). in all cases you
got a
return value with either status (sync) or event handle (async). you
could combine the returns into one object as mentioned in this thread.
Yup, it's an important contribution. And now we're entering into the
final section of that RFC, titled "Unknowns":
"Designing the internals for this will be tricky. The best way to
support all these needs is not clear."
I'll expand the section discussing Asynchronous and Synchrounous ops
with some of the alternatives. Though, I may do the first drafts of
events, threads, and exceptions PDDs first, as they're all closely
related.
Allison