improuving of error management in piThread creation
beginning of pithread awake
Merge branch 'dev' of https://github.com/mickael-menu/libpirt into dev