>                         (buf->r_locks)--;
>                         if (!buf->r_locks)
>                                 *buflock &= ~BL_R_LOCK;
> 
> 
> Or I am missing something...

buflock is per-backend flag, it's not in shmem. Backend is
allowed only single lock per buffer.

Vadim

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to