Article View: comp.windows.x
Article #23732shared memory extension (MIT-SHM)
From: Keith Trummel
Date: Fri, 14 Jun 1991 22:11
Date: Fri, 14 Jun 1991 22:11
26 lines
1547 bytes
1547 bytes
I am using the shared memory extension to X (MIT-SHM) which allows the client
and server to use XImages and Pixmaps in shared memory. I want my program
to take advantage of this extension if it exists, but work properly in
environments where it is not supported. I use the function XShmQueryVersion
to see if the server supports it, but I have the following problem. If the
server supports this extension, but my client is running on a different
machine than the server I obviously can't take advantage of it. So my
question is how do I reliably tell if my client and the server are running
on the same machine?
By the way, is it a bug that XShmQueryVersion says it supports the shared
memory extension when you are running across the network? i.e should
XShmQueryVersion tell you if it can support shared memory for *some* client
or for the client with the specified connection to the server?
Keith Trummel
Island Graphics Corporation
San Rafael, CA
{sun,uunet}!island!trummel
trummel@island.com
--
Keith Trummel
Island Graphics Corporation
{sun,uunet}!island!trummel
trummel@island.com
Technical Details
Message-ID:
<4186@island.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!spool.mu.edu!uunet!island!trummelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!sdd.hp.com!spool.mu.edu!uunet!island!trummel From: trummel@island.COM (Keith Trummel) Newsgroups: comp.windows.x Subject: shared memory extension (MIT-SHM) Message-ID: <4186@island.COM> Date: 14 Jun 91 22:11:43 GMT Sender: usenet@island.COM Lines: 26