#include <sys/syscall.h> LOGI(" TID: %d, PID: %d", code, syscall(__NR_gettid), syscall(__NR_getpid); LOGI(" TID: %d, PID: %d", code, syscall(224), syscall(20);
-----
参考:http://my.huhoo.net/archives/2009/10/linuxid.html
http://www.oklinux.cn/html/developer/other/20080814/59519.html