Exemple #1
0
Camera::~Camera()
{
    pthread_join(theUpdateThread, NULL);
    pslr_disconnect(theHandle);
    pslr_shutdown(theHandle);
    theCamera = NULL;
    pthread_exit(NULL);
}
void camera_close(pslr_handle_t camhandle) {
    pslr_disconnect(camhandle);
    pslr_shutdown(camhandle);
}