Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except when you need to pass a message to the GUI thread (main thread).


Why is that hard? With Qt, it's fairly straightforward: http://ix.io/flo

Similar things can be used for the various event loops.

If you were so inclined, you could write something that uses less dynamic memory allocation.

Now that I read that code, I think I should be moving some of this stuff to C++11, at least WRT rvalue-refs...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: