// Terminate a thread public static bool terminate( bglpthread thread ) { thread.cthread.Abort(); return true; }
// Join public static void dojoin( bglpthread t ) { t.cthread.Join(); }