MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / Sleep

Function Sleep

netcon/inetfile/Chttpget.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143#include "SDL_thread.h"
144
145inline void Sleep(int millis) {
146 struct timeval tv;
147 tv.tv_sec = 0;
148 tv.tv_usec = millis * 1000;
149 select(0, NULL, NULL, NULL, &tv);
150}
151#endif
152
153#define NW_AGHBN_CANCEL 1

Callers 3

InetGetFileMethod · 0.70
AbortGetMethod · 0.70
dp_DirectPlayJoinGameFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected