WaitLatch

From: aaliya zarrin <aaliya(dot)zarrin(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: WaitLatch
Date: 2010-12-13 10:48:00
Message-ID: AANLkTimkTJUQ=xPcdJ2VNM+kQVu-ACKMXENCqvNRVDCT@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2010-12-13 11:54:12 Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
Previous Message Nicolas Barbier 2010-12-13 10:42:19 Re: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED