]> git.mxchange.org Git - flightgear.git/commit
Prevent 100% CPU usage for FGCom standalone
authorTorsten Dreyer <torsten@t3r.de>
Thu, 6 Aug 2015 19:47:01 +0000 (21:47 +0200)
committerTorsten Dreyer <torsten@t3r.de>
Thu, 6 Aug 2015 19:47:01 +0000 (21:47 +0200)
commit7294999f351c3c178685e9768a8110da24de23ca
tree2ece7c268e55c87a67464b99f0693632aed763b6
parentd68af5ab1d4cfd8be83b979bb12ac63fe2a07dcb
Prevent 100% CPU usage for FGCom standalone

Kévin Seroux:
As reported here (http://forum.flightgear.org/viewtopic.php?f=32&t=26629),
the FGCom standalone client use 100% of the CPU when it is in OBS mode. The fact to add the shortest sleep time
(1ms) has solved the problem. With this patch, I run FGCom with 1% of CPU usage instead of 100%.
utils/fgcom/fgcom.cxx