Could You Live Without Blocking Calls?

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 OSAlert: 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?

58 Comments

  1. 2011-05-27 12:24 pm
  2. 2011-05-27 12:28 pm
  3. 2011-05-27 12:48 pm
    • 2011-05-27 1:08 pm
    • 2011-05-27 2:05 pm
      • 2011-05-28 3:27 am
  4. 2011-05-27 12:54 pm
    • 2011-05-27 2:40 pm
  5. 2011-05-27 1:29 pm
    • 2011-05-29 1:46 am
      • 2011-05-30 1:26 am
  6. 2011-05-27 1:55 pm
    • 2011-05-27 3:52 pm
  7. 2011-05-27 2:06 pm
    • 2011-05-27 2:27 pm
    • 2011-05-29 9:45 pm
      • 2011-05-30 6:00 am
  8. 2011-05-27 2:16 pm
  9. 2011-05-27 3:14 pm
    • 2011-05-27 4:57 pm
  10. 2011-05-27 3:16 pm
  11. 2011-05-27 3:25 pm
  12. 2011-05-27 3:42 pm
    • 2011-05-27 4:00 pm
      • 2011-05-27 10:15 pm
        • 2011-05-27 11:58 pm
          • 2011-05-28 2:21 am
          • 2011-05-29 10:43 am
          • 2011-05-29 6:24 pm
  13. 2011-05-27 4:41 pm
    • 2011-05-27 5:35 pm
  14. 2011-05-27 5:08 pm
  15. 2011-05-27 7:44 pm
  16. 2011-05-27 8:03 pm
  17. 2011-05-27 9:09 pm
  18. 2011-05-28 12:49 am
    • 2011-05-28 2:36 am
  19. 2011-05-28 6:33 am
    • 2011-05-29 5:55 pm
      • 2011-05-30 9:26 am
        • 2011-05-30 11:07 pm
          • 2011-05-31 3:31 am
  20. 2011-05-28 6:56 am
    • 2011-05-28 9:48 am
      • 2011-05-29 4:36 am
        • 2011-05-29 7:38 am
  21. 2011-05-28 2:39 pm
    • 2011-05-29 5:54 pm
      • 2011-05-29 9:46 pm
        • 2011-05-30 8:59 am
          • 2011-05-30 4:43 pm
          • 2011-05-31 12:26 am
          • 2011-05-31 2:33 am
  22. 2011-05-28 5:30 pm
    • 2011-05-29 6:17 pm
      • 2011-05-30 6:57 pm
  23. 2011-05-29 3:40 pm
    • 2011-05-29 6:54 pm