Discuss this help topic in CBFS Forum

CallbackFileSystem.ParallelProcessingAllowed property


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

CallbackFileSystem     See also    


Specifies whether read operations on the same file or directory may be executed in parallel


    property ParallelProcessingAllowed : boolean;

[C++ (Lib)]
    bool GetParallelProcessingAllowed();
    void SetParallelProcessingAllowed(BOOL Value);

[C++ (VCL)]
    bool ParallelProcessingAllowed;

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

    bool ParallelProcessingAllowed;

    Public Property ParallelProcessingAllowed As Boolean

    boolean getParallelProcessingAllowed();
    void setParallelProcessingAllowed(boolean Value);


Parallel processing speeds up read operations to some extent. When parallel processing is allowed and two or more requests, which don't change filesystem information, are made over the same file, these requests are (given there are worker threads available) sent to the corresponding callback/event handler in parallel. If parallel processing is not allowed, such requests are serialized.

By default parallel processing is disabled.

Parallel processing works when SerializeCallbacks property is set to false (if it's set to true, all callbacks are serialized) and values of MinWorkerThreadCount and MaxWorkerThreadCount properties allow parallel processing.

See also

SerializeCallbacks     MaxWorkerThreadCount     MinWorkerThreadCount

Discuss this help topic in CBFS Forum