cleaned up thread names

This commit is contained in:
Jeff Hill
2000-06-08 17:59:30 +00:00
parent fc5e479d97
commit 314671f6e9
5 changed files with 8 additions and 8 deletions

View File

@@ -325,7 +325,7 @@ extern "C" void cacRecvThreadTCP (void *pParam)
if ( tbs != tbsSuccess ) {
priorityOfSend = priorityOfSelf;
}
tid = threadCreate ("CAC TCP Send", priorityOfSend,
tid = threadCreate ("CAC-TCP-send", priorityOfSend,
threadGetStackSize (threadStackMedium), cacSendThreadTCP, piiu);
if (tid) {
while (1) {
@@ -486,7 +486,7 @@ tcpiiu::tcpiiu (cac *pcac, const struct sockaddr_in &ina, unsigned minorVersion,
priorityOfRecv = priorityOfSelf;
}
tid = threadCreate ("CAC TCP Recv", priorityOfRecv,
tid = threadCreate ("CAC-TCP-recv", priorityOfRecv,
threadGetStackSize (threadStackMedium), cacRecvThreadTCP, this);
if (tid==0) {
ca_printf ("CA: unable to create CA client receive thread\n");

View File

@@ -458,7 +458,7 @@ udpiiu::udpiiu (cac *pcac) :
ca_printf ("CAC warning: unable to get a higher priority for a UDP recv thread\n");
}
tid = threadCreate ("CAC UDP Recv", priorityOfRecv,
tid = threadCreate ("CAC-UDP-recv", priorityOfRecv,
threadGetStackSize (threadStackMedium), cacRecvThreadUDP, this);
if (tid==0) {
ca_printf ("CA: unable to create UDP receive thread\n");
@@ -483,7 +483,7 @@ udpiiu::udpiiu (cac *pcac) :
priorityOfSend = priorityOfSelf;
}
tid = threadCreate ( "CAC UDP Send", priorityOfSend,
tid = threadCreate ( "CAC-UDP-send", priorityOfSend,
threadGetStackSize (threadStackMedium), cacSendThreadUDP, this );
if (tid==0) {
ca_printf ("CA: unable to create UDP transmitt thread\n");
@@ -524,7 +524,7 @@ udpiiu::udpiiu (cac *pcac) :
ca_printf ("CAC warning: unable to get a higher priority for repeater thread\n");
}
tid = threadCreate ( "CA repeater", priorityOfRepeater,
tid = threadCreate ( "CAC-repeater", priorityOfRepeater,
threadGetStackSize (threadStackMedium), caRepeaterThread, 0);
if (tid==0) {
ca_printf ("CA: unable to create CA repeater daemon thread\n");

View File

@@ -132,7 +132,7 @@ dbEventSubscription dbServiceIO::subscribe ( struct dbAddr &addr, dbSubscription
this->mutex.unlock ();
return 0;
}
status = db_start_events ( this->ctx, "CAC event",
status = db_start_events ( this->ctx, "CAC-event",
cacAttachClientCtx, clientCtx, slightlyHigherPriority );
if ( status ) {
db_close_events (this->ctx);

View File

@@ -228,7 +228,7 @@ struct client *create_client (SOCKET sock)
return NULL;
}
status = db_start_events (client->evuser, "CAS event",
status = db_start_events (client->evuser, "CAS-event",
NULL, NULL, slightlyLowerPriority);
if (status != DB_EVENT_OK) {
errlogPrintf("CAS: unable to start the event facility\n");

View File

@@ -201,7 +201,7 @@ int cast_server(void)
}
/* tell clients we are on line again */
tid = threadCreate("CAonline",threadPriorityChannelAccessClient-3,
tid = threadCreate("CAS-beacon",threadPriorityChannelAccessClient-3,
threadGetStackSize(threadStackSmall),
(THREADFUNC)rsrv_online_notify_task,0);
if(tid == 0) {