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
> environment?

Why can't you use LWLocks?

-Neil



---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to