how to get actual PGPROC and LOCK object from SHMEM_OFFSET??? - Mailing list pgsql-hackers

From Sumaira Ali
Subject how to get actual PGPROC and LOCK object from SHMEM_OFFSET???
Date
Msg-id BAY1-F145W1AR0MQUlW00034710@hotmail.com
Whole thread Raw
List pgsql-hackers
<div style="background-color:"><div>How do we get the actual pgproc object from the </div><div>SHMEM_OFFSET proc /*
linkto pgproc of owning backend*/ in the PROCLOCKTAG struct in file Lock.h</div><div>The same question also for
SHMEM_OFFSETlock /*link to per-lockable-object information*/ in the same struct</div><div>Is SHMEM_OFFSET a pointer to
anaddress which has the "header" of the unique pgproc object? '</div><div>So, again, how to get the actual PGPROC and
LOCKobject from SHMEM_OFFSET?</div><div>Any help will be greatly
appreciated,</div><div>Thanks,</div><div>Sumaira</div></div><brclear="all" /><hr />Protect your PC - <a
href="http://g.msn.com/8HMEENUS/2755">Clickhere</a> for McAfee.com VirusScan Online  

pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Roadmap for FE/BE protocol redesign
Next
From: Bruce Momjian
Date:
Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign