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

Function mswin_delay_output

win/win32/mswproc.c:1903–1909  ·  view source on GitHub ↗

delay_output() -- Causes a visible delay of 50ms in the output. Conceptually, this is similar to wait_synch() followed by a nap(50ms), but allows asynchronous operation. */

Source from the content-addressed store, hash-verified

1901 by a nap(50ms), but allows asynchronous operation.
1902*/
1903void
1904mswin_delay_output(void)
1905{
1906 logDebug("mswin_delay_output()\n");
1907 mswin_map_update(mswin_hwnd_from_winid(WIN_MAP));
1908 Sleep(50);
1909}
1910
1911void
1912mswin_change_color(int color, long rgb, int reverse)

Callers

nothing calls this directly

Calls 3

mswin_map_updateFunction · 0.85
logDebugFunction · 0.70
mswin_hwnd_from_winidFunction · 0.70

Tested by

no test coverage detected