semtimedop instead of setitimer/semop/setitimer

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: semtimedop instead of setitimer/semop/setitimer
Date: 2003-09-19 21:39:53
Message-ID: 3F6B77A9.8000400@colorfullife.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I've noticed that postgres strace output contains long groups of
setitimer/semop/setitimer.
Just FYI: semtimedop is a special syscalls that implements a semop with
a timeout. It was added just for the purpose of avoiding the setitimer
calls.
I know that it's supported by Solaris and recent Linux versions, I'm not
sure about other operating systems.

Has anyone tried to use it? Oracle pushed it to Linux, it seems to be
worth the effort:
http://www.ussg.iu.edu/hypermail/linux/kernel/0211.3/0485.html

--
Manfred

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2003-09-19 21:49:49 PostgreSQL not ACID compliant?
Previous Message Jenny Zhang 2003-09-19 21:35:41 Re: osdl-dbt3 run results - puzzled by the execution

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Inoue 2003-09-19 23:06:55 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Tom Lane 2003-09-19 19:57:42 pgsql-server/src/backend catalog/index.c comma ...