当前位置: 技术问答>linux和unix
百年难遇的,特特奇怪的多线程问题
来源: 互联网 发布时间:2016-05-17
本文导语: 遇到一个非常奇怪的线程问题,正常情况下有如下4个线程,它们的LWP和线程号均不相同,其中LWP是连续的,线程1为主线程: 4 Thread -2134217824 (LWP 15625) 0xffffe410 in __kernel_vsyscall () 3 Thread -2139866208 (LWP 15626)...
遇到一个非常奇怪的线程问题,正常情况下有如下4个线程,它们的LWP和线程号均不相同,其中LWP是连续的,线程1为主线程:
4 Thread -2134217824 (LWP 15625) 0xffffe410 in __kernel_vsyscall ()
3 Thread -2139866208 (LWP 15626) 0xffffe410 in __kernel_vsyscall ()
2 Thread 1861921696 (LWP 15627) 0xffffe410 in __kernel_vsyscall ()
4 Thread -2134217824 (LWP 15625) 0xffffe410 in __kernel_vsyscall ()
3 Thread -2139866208 (LWP 15626) 0xffffe410 in __kernel_vsyscall ()
2 Thread 1861921696 (LWP 15627) 0xffffe410 in __kernel_vsyscall ()