Linked by Hadrien Grasland on Fri 27th May 2011 11:34 UTC
General Development After having an interesting discussion with Brendan on the topic of deadlocks in threaded and asynchronous event handling systems (see the comments on this blog post), I just had something to ask to the developers on OSnews: could you live without blocking API calls? Could you work with APIs where lengthy tasks like writing to a file, sending a signal, doing network I/O, etc is done in a nonblocking fashion, with only callbacks as a mechanism to return results and notify your software when an operation is done?
Permalink for comment 474813
To read all comments associated with this story, please click here.
Yes.
by Nelson on Fri 27th May 2011 13:55 UTC
Nelson
Member since:
2005-11-29

Been doing it in Silverlight for years. Blocking calls are pretty ancient by any modern developers standards.

Is there some added complexity? Yeah. Do you lose some finer control over execution flow? Probably. But its really nothing a few signals cant fix.

You gain a lot more in scalability though.

Reply Score: 2