Partager via


ThreadingModel enumeration

Specify the threading model the engine should use when invoking callbacks provided by the solution.

Syntax

enum ThreadingModel {
  ThreadingModelNone  = 0, 
  ThreadingModelFree, 
  ThreadingModelAPC 

};

Constants

ThreadingModelNone

No threading model was specified. This is an invalid value.

ThreadingModelFree

The AXE engine invokes each callback directly from the context of a thread created and managed by the engine. This may or may not be the same thread for each callback.

ThreadingModelAPC

The AXE engine will use Asynchronous Procedure Calls to execute a callback. The thread that registered the callbacks will be the thread that is invoked when a callback is executed.

Remarks

Managed code uses the ThreadingModel enum.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h