[omniORB] omniAsyncInvoker destructor
Duncan Grisby
duncan at grisby.org
Mon Dec 30 22:07:38 GMT 2013
On Tue, 2013-12-31 at 01:16 +0530, sheena kansal wrote:
[...]
> Here, the timedwait() will return either 0, 1 or -1. i.e. It returns 0
> if successfully signaled, 1 if time expired and -1 in case of error.
No, omni_condition::timedwait() returns 1 if the condition was
signalled; 0 if it timed out. It never returns -1. Bearing that in mind,
the logic in the code is correct.
Were you looking at that code because you have a problem with it?
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list