Anyone who knows WaitForSomething(): os/WaitFor.c

what is the context of the follow steps that causes a new connection to
happen when XFD_ANYSET(&tmp_set) is TRUE? What condition causes a new
connection? I have a BadWindow and its caused by this new connection
*without* a new client! 

 
367 #ifndef __CYGWIN__
368 i = Select (MaxClients, &LastSelectMask, NULL, NULL, wt);
.
.
.

441 fd_set tmp_set;
442 #ifdef SMART_SCHEDULE
443             if (someReady)
444                 XFD_ORSET(&LastSelectMask, &ClientsWithInput,
&LastSelectMask);
445 #endif  
446             if (AnyClientsWriteBlocked && XFD_ANYSET (&clientsWritable))
447             {
448                 NewOutputPending = TRUE;
449                 XFD_ORSET(&OutputPending, &clientsWritable,
&OutputPending);
450                 XFD_UNSET(&ClientsWriteBlocked, &clientsWritable);
451                 if (! XFD_ANYSET(&ClientsWriteBlocked))
452                     AnyClientsWriteBlocked = FALSE;
453             }
454 
455             XFD_ANDSET(&devicesReadable, &LastSelectMask,
&EnabledDevices);
456             XFD_ANDSET(&clientsReadable, &LastSelectMask, &AllClients);
457             XFD_ANDSET(&tmp_set, &LastSelectMask,
&WellKnownConnections);
458             if (XFD_ANYSET(&tmp_set))
459                 QueueWorkProc(EstablishNewConnections, NULL,
460                               (pointer)&LastSelectMask);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
here is where I get the new connection without a new client


Thanks in advance!
James Dugger
Senior Linux Engineer

[EMAIL PROTECTED]
EchoStar Technologies



_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to