@@@ currently include ../api.h, and there is only pthreads. Expand and complete once the CodeSamples structure settles down.