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


User sb changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|sb                        |mmeeks
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Jan 23 00:49:30 -0800 
2007 -------
@mmeeks:  rtl_createUuid needs to lock a mutex anyway so that no two threads
simultaneously call on the same random pool, so it can easily and cheaply use
that locked mutex to also make sure that only one thread initializes the pool. 
The rtl/instance.hxx stuff is for cases where (it is assumed that) it is too
expensive to make a get-or-create atomic by simply wrapping it in a mutex lock.

If the documentation in rtl/instance.hxx does not give you a clue, either please
improve it, or simply do not use rtl/instance.hxx but instead make your
get-or-creates atomic with a mutex lock (which IMO is the cleaner and better
alternative in almost all cases, anyway).

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