semaphore removal (was: Re: [Libreoffice] [PUSHED] Some OSL cleanup)

Thorsten Behrens thb at documentfoundation.org
Tue Dec 4 03:41:13 PST 2012


Michael Meeks wrote:
> 	One thing I noticed there was the under-usage of osl_sempahore and
> related bits. It might be worth checking the rest of the code to see if
> in fact we need this at all - the Condition stuff is much more widely
> used.
> 
> 	If we find it is not / hardly ever used, we could use the generic:
> 
> #ifdef NO_PTHREAD_SEMAPHORES
> 
> 	implementation directly in-lined in the semaphore impl. and schedule
> Semaphore for ultimate removal in LibreOffice 4:
> 
semaphores went a few minutes ago, jointly with client code in
salhelper (queue, futurequeue etc)

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20121204/2f605e34/attachment.pgp>


More information about the LibreOffice mailing list