PR_Init 编辑
Initializes the runtime.
Syntax
#include <prinit.h> void PR_Init( /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRThreadType type, /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRThreadPriority priority, /wiki/en-US/docs/Mozilla/Projects/NSPR/Reference/PRUintn maxPTDs);
Parameters
PR_Init
has the following parameters:
type
- This parameter is ignored.
priority
- This parameter is ignored.
maxPTDs
- This parameter is ignored.
Description
NSPR is now implicitly initialized, usually by the first NSPR function called by a program. PR_Init
is necessary only if a program has specific initialization-sequencing requirements.
Call PR_Init
as follows:
PR_Init(PR_USER_THREAD, PR_PRIORITY_NORMAL, 0);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论