WaitLatch - Mailing list pgsql-hackers

From aaliya zarrin
Subject WaitLatch
Date
Msg-id AANLkTimkTJUQ=xPcdJ2VNM+kQVu-ACKMXENCqvNRVDCT@mail.gmail.com
Whole thread Raw
Responses Re: WaitLatch  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
 
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 will the SIGUSR1 can wake up the latch(select in WaitLatch Fun)??
 
Plz Reply..

--
Thanks & Regards,

Aaliya Zarrin
(+91)-9160665888

pgsql-hackers by date:

Previous
From: Nicolas Barbier
Date:
Subject: Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
Next
From: Peter Geoghegan
Date:
Subject: Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED