Photomechanics API
ThreadHelper Class Reference

Thread related utility methods. More...

Static Public Member Functions

static Thread CreateBackgroundThread (ThreadStart action, String name, ApartmentState apartmentState=ApartmentState.MTA)
 Creates thread. When app is built in DEBUG mode, thread will be foreground to help catch various issues with application, namely native camera API wrappers. When app is built in RELEASE mode, thread will be background to prevent hanging even if something was not closed correctly.
 
static Thread CreateBackgroundThread (ParameterizedThreadStart action, String name, ApartmentState apartmentState=ApartmentState.MTA)
 Creates thread. When app is built in DEBUG mode, thread will be foreground to help catch various issues with application. When app is built in RELEASE mode, thread will be background to prevent hanging even if something was not closed correctly.
 

Detailed Description

Thread related utility methods.