Adapted generic file to work properly with linuxthreads
Adapted generic file to work properly with linuxthreads

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc