I found that postgres uses different semaphore system call on some different
operating systems.
For example, I found that on linux, System V semaphore (semop etc.) is used
to implement locking, while on Darwin, POSIX semaphore (sem_wait, sem_post
etc.) is used.
linux and Darwin support both System V and POSIX semaphores, i'm wondering
why postgres implement locking using different types of semaphore system
call. Is there any performance or semantic issue on different OSes?

Thnaks!

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedDec 5, '10 at 6:37a
activeDec 5, '10 at 5:07p
posts2
users2
websitepostgresql.org...
irc#postgresql

2 users in discussion

Flyusa2010 fly: 1 post Tom Lane: 1 post

People

Translate

site design / logo © 2021 Grokbase