hornetseye-kinect 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/ext/kinectcontext.cc +2 -0
- metadata +2 -2
data/Rakefile
CHANGED
data/ext/kinectcontext.cc
CHANGED
@@ -32,6 +32,8 @@ KinectContext::KinectContext(void) throw (Error):
|
|
32
32
|
ERRORMACRO( libusb_init( &m_usb ) == 0, Error, , "Error creating libusb session" );
|
33
33
|
freenect_init( &m_context, m_usb );
|
34
34
|
ERRORMACRO( m_context != NULL, Error, , "Initialisation of libfreenect failed" );
|
35
|
+
pthread_create( &m_thread, NULL, staticThreadFunc, this );
|
36
|
+
pthread_cond_wait( &m_cond, &m_mutex );
|
35
37
|
}
|
36
38
|
|
37
39
|
KinectContext::~KinectContext(void)
|