FastttCamera icon indicating copy to clipboard operation
FastttCamera copied to clipboard

Moving code away from the main thread

Open BellAppLab opened this issue 8 years ago • 1 comments

FastttCamera now calls beginBackgroundTaskWithExpirationHandler upon initialising and calls endBackgroundTask upon tearing down.

The camera also enqueues blocks on its own serial NSOperationQueue rather than relying on the system's global queue (see #5).

BellAppLab avatar Nov 20 '15 14:11 BellAppLab

Should not lazy initialize serial queue, because it may cause data race

HePingLaoSan avatar Sep 03 '19 09:09 HePingLaoSan