View Single Post
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 06-03-2018 , 00:52   Re: Steamworks > HTTP Requets > Non-Threaded requests
Reply With Quote #4

Quote:
Originally Posted by KyleS View Post
Code:
snd_debug_sleep
isn't present on all games; it might just even be CS:GO.

Out of principle I'd say the paradigm should be adjusted so your code can handle callbacks as it's all networked anyways and latency is to be expected. Blocking like this on a single threaded platform is almost certainly bad news and doesn't reflect the normalcy of the era.
When you look at socket coding in general the paradigm is to give the choice by having both threaded and non-threaded operations. Even Sourcemod does this with the SQL API. To force people to use threaded operations because you beleive there is no legitimacy for non-threaded operations is naive imo.
__________________

Last edited by Neuro Toxin; 06-03-2018 at 00:54.
Neuro Toxin is offline