[PATCH] Remove unused System V oslSemaphore implementation

Francois Tigeot ftigeot at wolfpond.org
Sun Feb 5 10:21:34 PST 2012

sal/osl/unx/semaphor.c contains two separate implementations of the
osl*Semaphore synchronization functions:

- a pthread one (used by default)
- an alternative one based on System V semaphores

The alternative System V implementation is only used if the macro
OSL_USE_SYS_V_SEMAPHORE is defined, which is never the case.

Since it is never used, we may as well remove it. Patch attached.

I thought it would be best to not remove such an important piece of code
without some discussion first.

Francois Tigeot

More information about the LibreOffice mailing list