Discuss this help topic in CBFS Forum

CallbackFileSystem.SerializeCallbacks property


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

CallbackFileSystem     See also    


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


    property SerializeCallbacks : boolean;

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

[C++ (VCL)]
    bool SerializeCallbacks;

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

    bool SerializeCallbacks;

    Public Property SerializeCallbacks As Boolean

    boolean getSerializeCallbacks();
    void setSerializeCallbacks(boolean Value);


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 (see ParallelProcessingAllowed property for exception), but for different files the callback functions can be called in parallel. The number of parallel threads is controlled by MinWorkerThreadCount and MaxWorkerThreadCount properties.

See also

MaxWorkerThreadCount     MinWorkerThreadCount     ParallelProcessingAllowed

Discuss this help topic in CBFS Forum