Re: [HACKERS] problem using semaphores

2007-05-08 Thread Neil Conway
On Wed, 2007-09-05 at 01:07 +0530, Raja Agrawal wrote: > We are using the following piece of code for updating a list > synchronously i.e. no two threads would update the list at a time. Do you mean threads or processes? > Is the following way of using semaphores not correct in the postgres > env

[HACKERS] problem using semaphores

2007-05-08 Thread Raja Agrawal
Hi, We are using the following piece of code for updating a list synchronously i.e. no two threads would update the list at a time. But the postgres hangs for some reason after a few calls to UpdateList function. The program (i.e. postgres) does not even react to Ctrl+C or any other interrupt. We