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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/ext/kinectcontext.cc +2 -0
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
7
7
  require 'rbconfig'
8
8
 
9
9
  PKG_NAME = 'hornetseye-kinect'
10
- PKG_VERSION = '0.2.1'
10
+ PKG_VERSION = '0.2.2'
11
11
  CFG = RbConfig::CONFIG
12
12
  CXX = ENV[ 'CXX' ] || 'g++'
13
13
  RB_FILES = FileList[ 'lib/**/*.rb' ]
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)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Wedekind