Changeset 1386


Ignore:
Timestamp:
02/22/07 11:18:06 (6 years ago)
Author:
mglb1
Message:

Give the status monitor thread a nice name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccsd/trunk/crcnetd/modules/ccs_status.py

    r1307 r1386  
    2828from time import time 
    2929import random 
     30import threading 
    3031 
    3132from crcnetd._utils.ccsd_common import * 
     
    426427            return 
    427428        _runStatus = True; 
     429 
     430        # Setup the thread information  
     431        ct = threading.currentThread() 
     432        ct.setName("CCSD Status Monitor") 
     433 
    428434        # What interval shall we check hosts at 
    429435        interval = config_get("status", "interval", DEFAULT_CHECK_INTERVAL) 
Note: See TracChangeset for help on using the changeset viewer.