I have attempted to create a simple object that represents a thread and wraps around the pthread API to execute itself. I'm having a bit of trouble though.
If I inherit the object and reimplement the run() method and sleep() - it appears that a thread has not actually been created - as the code following thread.exec() is not executed until the sleep() has completed.
[edit:]
Ok - Nevermind - I was joining and blocking - silly mistake.