To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=44627





------- Additional comments from [EMAIL PROTECTED] Wed Mar  9 10:13:11 -0800 
2005 -------
Hmm, if two threads wait in g_main_context_iteration - the right thing should
happen, otherwise - it's a bug.

hro - basically osl_waitConditon looks embarassingly broken from every angle I
look at it.

Most importantly: the "condition has been flagged" state [ so crucial to it's
function, surely ] is thrown away in favour of this local state variable - which
can be tweaked randomly by people all over the shop.

The Win32 implementation looks as if it functions differently [ I'd hope so ].
Ultimately - it'd be nice if having 'set' a condition, you knew that all
currently live 'wait'ers would actually complete - it seems, there's no way of
assuring that currently.

A simple patch to make that so is to change the outer while() to an if() - but
the role of the local 'state' there is not completely clear to me.

Obviously fixing the timeout issues would be nice too ;-) [ or have I completely
misunderstood the whole thing ? ;-]

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to