Quoting Mark Adams: > In ++DFB, IDirectFBEventBuffer::WaitForEventWithTimeout currently throws > an exception if the operation times out. Since the timeout is not an > error condition, this is not ideal. Although the exception itself can be > caught, there is still the side effect of a warning message to stderr > which is untidy to say the least. > > I propose the attached patch so that WaitForEventWithTimeout returns a > bool. Following the convension of GetEvent, PeekEvent, HasEvent, this > returns true if there was an event available or false if the operation > timed out. Any other errors still throw exceptions. > > Does this seem reasonable?
You're right, but your patch is missing :) -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev