Keep track of the CPU the main library thread is running on

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>
Fix spurious include of dstRandom.h in dstDynamicArray.h

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>
Add dstQueue classes

Add classes derived from dstDynamicArray to efficiently implement
queues.

Also fix a bug in dstMemory.h.

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>