Threads and HID

This site is a joint effort with David Merrill and Olaf Matthes as part of our [hidio] project.

In the course of this project, we had long and involved discussions about whether we should use threads or not. We tried a number of implementations, both threaded and not. In the end, it seems that there was no difference in performance between the two. But depending on the software environment that the author is working in, threads may or may not make sense. Since we are working with Pd and Max/MSP, that was our context. Pd mostly avoids threads, while Max/MSP provides two threads.

Performance

Implementation

Examples


$Id: threads.html,v 1.3 2007/04/14 19:15:24 hans Exp $