I don't understand why PGSemaphoreTimedLock() is not broken. I mean
surely you need a bool return to let the caller know whether the
acquisition succeeded or failed? AFAICS you are relying on
get_timeout_indicator() but this seems to me the wrong thing to do ...
(not to mention how ugly it is to percolate through two levels of
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
In response to
pgsql-hackers by date
|Next:||From: Alexander Korotkov||Date: 2012-07-03 21:41:11|
|Subject: Re: Patch: add conversion from pg_wchar to multibyte|
|Previous:||From: Alvaro Herrera||Date: 2012-07-03 21:31:12|
|Subject: Re: [PATCH] lock_timeout and common SIGALRM framework|