View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#580
Originally Posted by lma View Post
Uhm... when is it absolutely necessary? Any such code in applications is a bug IMHO.
Good point - can't really come with any really relevant example from top of my head where busy waiting is really indispensable. Of course, provided there adequate support on the OS & toolkit level (eq. it is possible to register callbacks on important events & data sources, has inotify or an equivalent for filesystem changes watching, etc.).
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)