fix worker signal mask for posix threads
add copyright notice
Merge pull request #249 from achille-roussel/fix_thread_posix_signal_mask

Fix thread posix signal mask