c - 64位架构下的C问题: pthread_kill()

标签 c 64-bit pthreads segmentation-fault 32bit-64bit

问题非常简单:我的应用程序在 32 位架构上完美运行,但在 64 位架构上运行。我遇到段错误。我猜原因是执行了 pthread_kill() 调用。这是可能的还是我的假设是错误的?

最佳答案

这里有一个关于在 pthread_kill 上引发 segfault 问题的链接,该问题是由无效 pthread_t id 引起的:http://udrepper.livejournal.com/16844.html

关于c - 64位架构下的C问题: pthread_kill(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4734256/

相关文章:

perl - 如何将 Perl 中的窗口图标设置为 Windows 7 上的某个 .ico 文件?

c - 为什么pthread_exit(0)会挂起程序?

c - 如何扫描二维数组?

.net - 在 kernelbase.dll 中随机崩溃 .net 应用程序,在 Windows 7 64 位上以 32 位运行

python - 窗口中进程打开的文件名?

windows - 是否有适用于 x64 Windows 的 mem.exe 版本?

c++ - 使用互斥量时出错

php - 我如何在php多线程中使用静态方法

c - 如何扫描指向c中结构体指针的指针?

c - 是(char *)NULL-(char *)NULL未定义行为吗?