INFO: Resource DLL Entry Points Are Called by Arbitrary Threads
Article ID: 182195
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition
- Microsoft Windows NT Server 4.0 Enterprise Edition
This article was previously published under Q182195
SUMMARY
You cannot be certain about which specific threads will call the entry
points in a resource type DLL. In other words, the thread that calls
Online() may not be the same thread that called Open(). As a result, you
should not use per-thread data or initialization.
MORE INFORMATION
Most of the entry points in the resource type DLL are called indirectly by
the cluster server service. To isolate the cluster server from the code,
resource monitors load and call resource type DLLs. The cluster server
directs the actions of the resource monitors through RPC calls.
A given resource monitor may manage several resource DLLs. A pool of
threads in the resource monitor handles the requests from the cluster
server. Since any one of the threads in the pool could be used to handle
the cluster server request, you cannot be certain about which specific
thread will make the call to a resource DLL.
Keywords: kbinfo kbclustering KB182195