On 28/08/09 17:16, Steven Dake wrote:
> On Fri, 2009-08-28 at 10:17 +0100, Christine Caulfield wrote:
>> If poll() returns 0 (no data) or there is an error,
>> coroipcc_dispatch_get can still return CS_OK.
>>
>> This patch fixes it to return (fairly) sensible error values
>>
> I'm not sure this patch is correct.  The condition where this occurs is
> when dispatch is in a separate thread, and finalize is called in the
> main process.
>
> Can you verify this patch works for that test case?

I can't make it fail, but that's not necessarily a guarantee as I'm not 
quite sure what the case is you mean. it certainly seems to work fine 
for a thread running _dispatch when the main one does _finalize, but I 
can't be certain that they happened at the same time ... is that what 
you mean ?

Chrissie
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to