CallbackFilter.SerializeCallbacks property


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackFilter     See also    


Specifies whether the callbacks are called in context of one thread or several threads.


    property SerializeCallbacks : boolean;

[C++ (Lib)]
    void SetSerializeCallbacks(BOOL Value);
    bool GetSerializeCallbacks(void);

[C++ (VCL)]
    __property bool SerializeCallbacks;

[C++ (.NET)]
    property bool SerializeCallbacks

    bool SerializeCallbacks;

    Public Property SerializeCallbacks As Boolean


Use this property to tell the driver to serialize all callback function calls to a single thread.

When SerializeCallbacks is True, all callback functions are called sequentially from a single thread. When SerializeCallbacks is False, the callback functions are called from a single thread for the same file, but for different files the callback functions can be called in parallel. The number of parallel threads is determined by MinWorkerThreadCount and MaxWorkerThreadCount properties.

Property value can be changed only when when the filter is not active, i.e. Active is false.

See also

MaxWorkerThreadCount     MinWorkerThreadCount