我正在使用mono 5.4在Centos 6.8上使用mono-service.exe运行多线程C#代码。
我有以下问题:
当检查线程信息w / gdb时,这就是我所看到的:
181 Thread 0x7f42fa3e0700 (LWP 13122) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
180 Thread 0x7f42fa1df700 (LWP 14121) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
179 Thread 0x7f42f9fde700 (LWP 15218) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
178 Thread 0x7f42f9ddd700 (LWP 16282) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
177 Thread 0x7f42f9bdc700 (LWP 17308) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
176 Thread 0x7f42f99db700 (LWP 18379) 0x00007f435b14d844 in do_sigsuspend (set=<value optimized out>) at ../sysdeps/unix/sysv/linux/sigsuspend.c:63
问题:在什么情况下sigsuspend()通常被调用,它如何与CLOSE_WAIT套接字泄漏有关?