Home

Research activities

Publications

Software

SensHub - Sensor data acquisition & server

SynScopeV - Signal/Video Visualization and Alignment Tool

DScope - Digital Oscilloscope

Hidden Markov Model Library (DHMM)

DSPG

DThread

(Deprecated)

Hardware

Miscellaneous

About this site

DThread

This library provides a simple thread wrapper class for pthreads

I wrote it to simplify some data acquisition programs for wearable computing.

DThread is a an abstract base class which wraps thread functionality. Thread-enabled classes must be derived from DThread. They must redefine the Run method which is the thread entry point. DThread also provides a mutex for shared data access serialization.

Threads are joinable, with deferred cancellation. DThread Usage patterns are indicated in the header file.

Heavy asserts are used to catch class misuse - better a hard failure than sleazy bugs.

License: Modified BSD License

Available here.