Article View: comp.windows.x
Article #37233Re: Maximum number of XOpenDisplay() allowed by a client.
From: Donna Converse
Date: Fri, 23 Feb 1990 00:51
Date: Fri, 23 Feb 1990 00:51
23 lines
895 bytes
895 bytes
> Is there any limitations on the number
> of displays a client can open at one time?
What happens when you run this?
#include <stdio.h>
#include <X11/Xlib.h>
main()
{
int i;
Display* dpy;
i = 0;
dpy = XOpenDisplay(NULL);
while (dpy != NULL) {
fprintf(stderr, "%i\n", i++);
fflush(stderr);
dpy = XOpenDisplay(NULL);
}
exit(0);
}
Technical Details
Message-ID:
<9002230051.AA13764@expo.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converseReferences:
<3002@soleil.oakhill.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU (Donna Converse) Newsgroups: comp.windows.x Subject: Re: Maximum number of XOpenDisplay() allowed by a client. Message-ID: <9002230051.AA13764@expo.lcs.mit.edu> Date: 23 Feb 90 00:51:50 GMT References: <3002@soleil.oakhill.UUCP> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 23