CONDITION_VARIABLE.wait_with_timeout

4 views
Skip to first unread message

Finnian Reilly

unread,
Oct 6, 2017, 4:51:20 AM10/6/17
to Eiffel Users
The description for this routine is:

-- Block calling thread on current condition variable for at most `a_timeout' milliseconds.
-- Return `
True' is we got the condition variable on time, otherwise return `False'

I interpreted the return value statement to mean that it returns true if a signal is received before the time out period, but when I tried the code, it seems to be that the opposite meaning that is intended. I think the meaning is ambiguous.
Reply all
Reply to author
Forward
0 new messages