I tried to use getpid() to get the process id of each thread and use it as unique id. But this didnt work out since all threads in a process share the same pid. I tried to use the thread_id returned by pthread_create() function but this id is meaningless to the kernel. Could anyone help me out on this? Thanks!
--
Addr: 1025N, 23rd str, APT 33,
Lincoln, NE, 68503
Phone: (402)310-9826
WWW: cse.unl.edu/~fxian
_______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-kernel-list