Re: [Opalvoip-devel] Interface Monitor not stopping.
Brought to you by:
csoutheren,
rjongbloed
From: Dennis M. <djm...@gm...> - 2011-09-17 03:06:40
|
On Sep 16, 2011, at 9:02 PM, Robert Jongbloed wrote: > I am not so sure about this. If doing a Signal() on a PSyncPoint does not > cause Wait() to return true, that is going to cause a 1,000 other problems > in the system! It is pretty fundamental to that classes semantics. I am > reluctant to just put a bandaid over one case until the problem is > understood. > > What platform was this on? > It's iOS still. That's what I expected, that Signaling the function would cause Wait to return false. It didn't seem to ever do that though and my other thread blocked forever on WaitForTermination. I'm not sure if one of the inner function calls like pthread_wait_cond or something is not returning the expected value or something. I agree though, the patch is how I got around it today, but it doesn't seem like the right solution. |