Ivica Ico Bukvic wrote:
iret1 = pthread_create( &thread, NULL, cwiid_pthread2_setRumble, (void*) &rPars);
This creates a new thread.
pthread_join(thread, NULL);
This waits (blocking Pd's main thread) until the new thread terminates.
So, why create a new thread only to immediately wait for it to terminate
Hope this makes sense,