PR_GetThreadPrivate 编辑
Recovers the per-thread private data for the current thread.
Syntax
#include <prthread.h> void* PR_GetThreadPrivate(/wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRUintn index);
Parameter
PR_GetThreadPrivate
has the following parameters:
index
- The index into the per-thread private data table.
Returns
NULL
if the data has not been set.
Description
PR_GetThreadPrivate
may be called at any time during a thread's execution. A thread can get access only to its own per-thread private data. Do not delete the object that the private data refers to without first clearing the thread's value.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论