SerializeEvents Property

Whether events should be fired on a single worker thread, or many.

Syntax

ANSI (Cross Platform)
int GetSerializeEvents();
int SetSerializeEvents(int bSerializeEvents); Unicode (Windows) BOOL GetSerializeEvents();
INT SetSerializeEvents(BOOL bSerializeEvents);
#define PID_CBPROCESS_SERIALIZEEVENTS 3

CBFSFILTER_EXTERNAL void* CBFSFILTER_CALL CBFSFilter_CBProcess_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSFILTER_EXTERNAL int CBFSFILTER_CALL CBFSFilter_CBProcess_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property specifies whether the class should fire all events serially on a single worker thread, or concurrently on multiple worker threads. When this property is disabled (default), the MinWorkerThreadCount and MaxWorkerThreadCount configuration settings control how many worker threads are used to fire events.

Please refer to the Threading and Concurrency topic for more information.

Note: This property cannot be changed when Active is true, and cannot be changed within events.

Data Type

Boolean

 
 
Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Filter 2020 C++ Edition - Version 20.0 [Build 7917]