MCPcopy Create free account
hub / github.com/NetHack/NetHack / X11_delay_output

Function X11_delay_output

win/X11/winX.c:1764–1774  ·  view source on GitHub ↗

* Delay for 50ms. This is not implemented asynch. Maybe later. * Start the timeout, then wait in the event loop. The timeout * function will send an event to the map window which will be waiting * for a sent event. */

Source from the content-addressed store, hash-verified

1762 * for a sent event.
1763 */
1764void
1765X11_delay_output(void)
1766{
1767 if (!x_inited)
1768 return;
1769
1770 (void) XtAppAddTimeOut(app_context, 30L, d_timeout, (XtPointer) 0);
1771
1772 /* The timeout function will enable the event loop exit. */
1773 (void) x_event(EXIT_ON_SENT_EVENT);
1774}
1775
1776/* X11_hangup ------------------------------------------------------------- */
1777/* ARGSUSED */

Callers

nothing calls this directly

Calls 1

x_eventFunction · 0.85

Tested by

no test coverage detected