Documentation Home
>
多线程编程指南
>
第 8 章 Solaris 线程编程
>
Solaris 线程的独有函数
>
暂停执行线程
> thr_suspend 返回值
多线程编程指南
Previous
: thr_suspend 语法
Next
: 继续执行暂停的线程
thr_suspend
返回值
thr_suspend()
在成功完成之后返回零。其他任何返回值都表示出现了错误。如果出现以下情况,
thr_suspend()
将失败并返回对应的值。
ESRCH
描述:
当前的进程中找不到
tid
。
Previous
: thr_suspend 语法
Next
: 继续执行暂停的线程
© 2010, Oracle Corporation and/or its affiliates