[GENERAL] Semaphores

2003-10-24 Thread Nailah Ogeer
Hi all, Just wanted to know how postgres handles semaphores. Was hoping that i can can use the locks defined in lwlock.h and lwlock.c . If i create a new lock and then use LockAcquire and LockRelease when I want a process to start and stop will this work? Nailah ---(end

Re: [GENERAL] Semaphores was: Increasing the number of semaphores on FreeBSD 4. 1 (clarification)

2000-11-10 Thread Alfred Perlstein
> * Philip Hallstrom <[EMAIL PROTECTED]> [001109 20:37] wrote: > > > > Yeah, that's what I've seen... I guess I was wondering if there were any > > guidelines to raising them.. I mean should I up the defaults by 10? Or > > up them by a percentage (to keep the relationship), etc... > > here's w

[GENERAL] Semaphores was: Increasing the number of semaphores on FreeBSD 4.1 (clarification)

2000-11-10 Thread Roger Wernersson
Whoa! Shit! I'm working on a system which probably will use ALOT of semaphores and mutexes. Is this the limits, <1000? I was hoping for millions. I have asked around but no-one I have asked seems to know the answer. I'm using pthreads on Linux right now but will probably use HP-UX, AIX, True64 or