Added sigsetjmp/siglongjmp and gettid to the portability library.

8 files changed