术语 | avrtjointhreadorderinggroup |
释义 | AvRtJoinThreadOrderingGroup 语法: C++ BOOL WINAPI AvRtJoinThreadOrderingGroup( __out PHANDLE Context, __in GUID *ThreadOrderingGuid, __in BOOL Before ); AvRtJoinThreadOrderingGroup功能 加入客户端线程线程订货组。 参数 上下文[out] 一个上下文句柄的指针。 ThreadOrderingGuid [in] 一个为订货组线程的唯一标识符的指针。 之前,[in] 该线程秩序。如果此参数为TRUE,线程是一个线程的前身是计划运行前父线程。如果此参数为FALSE,线程是继承线程计划运行后,父线程。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 包围该线程将在每个内,这是由AvRtWaitOnThreadOrderingGroup函数控制的循环期间执行的代码。 一个线程可以创建多个线程订货组和加入多个线程顺序组。但是,线程不能加入同一个线程组多个时间订购。 的线程,可以加入群数目是有限的,只有可用的系统资源。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderAvrt.h LibraryAvrt.lib DLLAvrt.dll 参见 螺纹订购服务 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==AvRtJoinThreadOrderingGroup Function Joins client threads to a thread ordering group. Syntax C++ BOOL WINAPI AvRtJoinThreadOrderingGroup( __out PHANDLE Context, __in GUID *ThreadOrderingGuid, __in BOOL Before ); Parameters Context [out] A pointer to a context handle. ThreadOrderingGuid [in] A pointer to the unique identifier for the thread ordering group. Before [in] The thread order. If this parameter is TRUE, the thread is a predecessor thread that is scheduled to run before the parent thread. If this parameter is FALSE, the thread is a successor thread that is scheduled to run after the parent thread. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks The thread encloses the code to be executed during each period within a loop that is controlled by the AvRtWaitOnThreadOrderingGroup function. A thread can create more than one thread ordering group and join more than one thread ordering group. However, a thread cannot join the same thread ordering group more than one time. The number of threads that can join a group is limited only by available system resources. Requirements Minimum supported clientWindows Vista Minimum supported serverWindows Server 2008 HeaderAvrt.h LibraryAvrt.lib DLLAvrt.dll See Also Thread Ordering Service Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms681966(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。