gettid does not work on fedora
I want to get thread by gettid. I was written program on redhat 4 it works fine but when i have copied that program to fedora 64 bit it does not work. It gives error "gettid has not been declared". Can anybody please help me.