enable CA preemption of main thread
This commit is contained in:
@@ -603,11 +603,12 @@ done:
|
||||
|
||||
void dbCaTask()
|
||||
{
|
||||
static const int enablePreemption = 1u;
|
||||
caLink *pca;
|
||||
short link_action;
|
||||
int status;
|
||||
|
||||
SEVCHK(ca_task_initialize(),"dbCaTask calling ca_task_initialize");
|
||||
SEVCHK(ca_context_create(enablePreemption),"dbCaTask calling ca_task_initialize");
|
||||
SEVCHK(ca_add_exception_event(exceptionCallback,NULL),
|
||||
"ca_add_exception_event");
|
||||
/*Dont do anything until iocInit initializes database*/
|
||||
|
||||
Reference in New Issue
Block a user