To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96901
                 Issue #|96901
                 Summary|framework::ResetableGuard::lock can silently fail
               Component|framework
                 Version|DEV300m37
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|as
             Reported by|sb





------- Additional comments from [EMAIL PROTECTED] Thu Dec  4 15:55:47 +0000 
2008 -------
If one thread calls framework::ResetableGuard::unlock and calls release before
setting m_bLocked to false at
trunk/framework/inc/threadhelp/[EMAIL PROTECTED] l. 167--168 and another
thread then calls lock, the second thread can find m_bLocked still true at l.
155 (see, e.g.,
<http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_10>)
and erroneously return without calling acquire.

ResetableGuard appears to be a (broken, see above) duplication of functionality
already available in osl/mutex.hxx, and should probably be removed completely.

---------------------------------------------------------------------
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