Re: PRLock and PRRWLock
Sabyasachi Ruj <[email protected]> Tue, 27 Jan 2009 12:02:55 +0530
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
Thanks Wan, for that idea. Is it possible to build time out based Reader/Writer lock with PRCondVar? On Thu, Jan 22, 2009 at 11:45 PM, Wan-Teh Chang <[email protected]> wrote: > On Thu, Jan 22, 2009 at 10:13 AM, Wan-Teh Chang <[email protected]> wrote: > > > > PRIntervalTime timeout = PR_SecondsToIntervalTime(45); > > The function's name should be PR_SecondsToInterval. > Sorry about the mistake. > > Wan-Teh > -- Sabyasachi