Fixing return of syscalls in Threading.
Fixing return of syscalls in Threading.

tiagofalcao/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,lianaduenha/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,tiagofalcao/ArchC,lianaduenha/ArchC,lianaduenha/ArchC,tiagofalcao/ArchC,lianaduenha/ArchC