enable CA preemption of main thread

This commit is contained in:
Jeff Hill
2000-08-29 22:50:10 +00:00
parent 604eb1e89b
commit 9f142dc9ed

View File

@@ -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*/