libede wrapper for pthreads