To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=70157
                 Issue #|70157
                 Summary|osl[in|de]crementInterlockedCount(): don't use "lock" 
                        |prefix on single processor machines
               Component|porting
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|code
             Assigned to|hr
             Reported by|hr





------- Additional comments from [EMAIL PROTECTED] Fri Oct  6 06:43:15 -0700 
2006 -------
The sal functions osl[in|de]crementInterlockedCount() use atomic operations to
increment and decrement a counter. On all x86 platforms this is done with a
"lock xadd" prefix. "Lock" means here to lock the bus, a quite expensive
operation on pre HyperThreading Intel processors and quite uncessary if there is
only one non HT, single core processor in the system (xadd with prefix is around
8 times slower than without prefix). The new implementation checks if we are on
a single processor single core non HT machine and leaves the "lock" prefix out
in this case.

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