complete function for pi_thread creation
merge for pi_thread.h
Merge branch 'dev' of https://github.com/mickael-menu/libpirt into dev