[HACKERS] WaitLatch

2010-12-13 Thread aaliya zarrin
Hi All, drainSelfPipe() function will read the data and remove it from the descriptor? Coz the signal (SIGUSR1) is writing sata to selfPipe descriptor but unable to wake up latch on select system call. Data is not avaialable at select in WaitLatch fun. Coz it is read by drailSelfPipe(). So How

Re: [HACKERS] WaitLatch

2010-12-13 Thread Robert Haas
On Mon, Dec 13, 2010 at 5:48 AM, aaliya zarrin aaliya.zar...@gmail.com wrote: drainSelfPipe() function will read the data and remove it from the descriptor? Yes... Coz the signal (SIGUSR1) is writing sata to selfPipe descriptor but unable to wake up latch on select system call. The signal