Mercurial > hg > orthanc-stone
diff Platforms/Wasm/WasmWebService.h @ 431:26b90b110719 am-vsol-upgrade
added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
author | am@osimis.io |
---|---|
date | Thu, 29 Nov 2018 19:25:15 +0100 |
parents | c23df8b3433b |
children | 3a8bcc45c221 |
line wrap: on
line diff
--- a/Platforms/Wasm/WasmWebService.h Thu Nov 29 15:11:19 2018 +0100 +++ b/Platforms/Wasm/WasmWebService.h Thu Nov 29 19:25:15 2018 +0100 @@ -55,12 +55,12 @@ MessageHandler<IWebService::HttpRequestErrorMessage>* failureCallable = NULL, unsigned int timeoutInSeconds = 60); - virtual void Start() - { - } + // virtual void Start() + // { + // } - virtual void Stop() - { - } + // virtual void Stop() + // { + // } }; }