LWN.net Logo

Thread-based or event-based?

Thread-based or event-based?

Posted Mar 1, 2007 20:38 UTC (Thu) by bronson (subscriber, #4806)
In reply to: Thread-based or event-based? by zooko
Parent article: Thread-based or event-based?

What did you use to do event-based in C++? Did you like it?

It seems like many modern GUI toolkits are using closures and continuations to hide the event loop. So, while many programmers are familiar with it, I'm not sure they really like it. :)


(Log in to post comments)

Thread-based or event-based?

Posted Mar 12, 2007 17:19 UTC (Mon) by zooko (subscriber, #2589) [Link]

I did event-based code in C++ in a few ways -- non-blocking I/O with my own event framework atop it, various GUI toolkits, and in a sense also using DEC Message Queue middleware.

It was satisfying enough. Certainly the freedom from deadlock was worth it.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds