use ca_import_cancel()

This commit is contained in:
Jeff Hill
1996-08-05 23:50:59 +00:00
parent 998e413bed
commit 069c404d64
2 changed files with 3 additions and 5 deletions

View File

@@ -193,7 +193,6 @@ long seq_disconnect(SPROG *pSP)
{
CHAN *pDB;
STATUS status;
extern int ca_static;
int i;
extern int seqAuxTaskId;
SPROG *pMySP; /* will be NULL if this task is not a sequencer task */
@@ -239,7 +238,7 @@ long seq_disconnect(SPROG *pSP)
#ifdef DEBUG_DISCONNECT
logMsg("seq_disconnect: ca_import_cancel\n");
#endif /*DEBUG_DISCONNECT*/
SEVCHK(ca_import_cancel(taskIdSelf(),
SEVCHK(ca_import_cancel(taskIdSelf()),
"seq_disconnect: ca_import_cancel() failed?");
}

View File

@@ -360,7 +360,6 @@ SEM_ID cleanupSem; /* indicate cleanup is finished */
{
int nss;
SSCB *pSS;
extern int ca_static; /* CA static variable */
#ifdef DEBUG_CLEANUP
logMsg("Delete %s: pSP=%d=0x%x, tid=%d\n", pSP->pProgName, pSP, pSP, tid);
@@ -416,8 +415,8 @@ SEM_ID cleanupSem; /* indicate cleanup is finished */
#ifdef DEBUG_CLEANUP
logMsg(" ca_import_cancel(0x%x)\n", pSS->taskId);
#endif /*DEBUG_CLEANUP*/
/*ca_import_cancel(pSS->taskId);*/
taskVarDelete(pSS->taskId, &ca_static);
SEVCHK(ca_import_cancel(pSS->taskId),
"CA import cancel failed!");
}
/* Close the log file */