- Use select() to sleep when idle as opposed to busy waiting.

- Introduce com_busyWait cvar to go back to old behaviour
This commit is contained in:
Thilo Schulz committed 2011-02-02 16:46:23 +00:00
1 parent fa8201c9b6
commit e5dbce839a
7 files changed
+206 -183

No files matched your search

-11
View File
@@ -52,14 +52,3 @@ Sys_SendPacket
*/
void Sys_SendPacket( int length, void *data, netadr_t to ) {
}
/*
==================
Sys_GetPacket
Never called by the game logic, just the system event queing
==================
*/
qboolean Sys_GetPacket ( netadr_t *net_from, msg_t *net_message ) {
return false;
}
-11
View File
@@ -51,14 +51,3 @@ Sys_SendPacket
*/
void Sys_SendPacket( int length, void *data, netadr_t to ) {
}
/*
==================
Sys_GetPacket
Never called by the game logic, just the system event queing
==================
*/
qboolean Sys_GetPacket ( netadr_t *net_from, msg_t *net_message ) {
return false;
}