Streamer sleep duration increased from 100 microseconds to 15 milliseconds to avoid termination in iOS builds due to too many wake cycles / second.

This commit is contained in:
2014-11-03 21:31:17 -08:00
parent 01bf0bbee9
commit 81c6ffe095

View File

@@ -80,7 +80,7 @@ void KRStreamer::run()
{ {
pthread_setname_np("Kraken - Streamer"); pthread_setname_np("Kraken - Streamer");
std::chrono::microseconds sleep_duration( 100 ); std::chrono::microseconds sleep_duration( 15000 );
#if TARGET_OS_IPHONE #if TARGET_OS_IPHONE
[EAGLContext setCurrentContext: gTextureStreamerContext]; [EAGLContext setCurrentContext: gTextureStreamerContext];