I found pthread.h in the android NDK,then I included pthread.h to my code in VS2008.
Then I used cygwin to compile the codes.
It didn’t crash when I run it in Android phone,It create the new thread(return value is right).
But It didn’t go into the thread method (loop method—-the third param of *pthread_create()* ) (I printed something in the method).
Anyone knows how to solve it???