usmanatron / amBXPeripheralController

Server application (with a number of assisting clients) to control amBX gaming peripherals
Other
2 stars 4 forks source link

Pause when starting Desync mode for the 1st time #9

Closed usmanatron closed 8 years ago

usmanatron commented 10 years ago

There's a weird problem where the server seems to pause for about a minute when you start a desync scene for the first time. Reproducible on my home machine. Needs analysing

usmanatron commented 9 years ago

Current suspicion is that spawning all the threads required just locks everything up for a bit, until they're all started (after which it's fine). It's totally fine on my laptop (which has 8 cores => parallelises nicely). I think I found this problem on a dual-core machine, which makes this reasoning more believable

usmanatron commented 8 years ago

Server has since been rewritten...