kylemcdonald / ofxEdsdk

Interfacing with Canon cameras from openFrameworks for OSX. An alternative to ofxCanon and CanonCameraWrapper.
Other
111 stars 51 forks source link

sleep ! #5

Closed ofZach closed 13 years ago

ofZach commented 13 years ago

the cam thread is mad heavy, and an app that uses it slows down, alot. how about something like,

ofSleepMillis(30);

in the thread loop, or anything even? I get significant improvements to my main app adding some sort of sleep in the loop of the thread. not having any sleep is bad for an OF that uses this app's thread performance, as it's really battling for cycles.

kylemcdonald commented 13 years ago

closed by 03c2cb4550ca730e1d4fc08505376b3df02f8eaf