Branch: Tag:

2012-02-14

2012-02-14 22:20:53 by Jonas Wallden <jonasw@roxen.com>

Name threads for the benefit of thread backtraces in the Admin interface.

Rev: server/base_server/roxen.pike:1.1109
Rev: server/base_server/snmpagent.pike:1.27
Rev: server/config_interface/actions/threads.pike:1.12
Rev: server/etc/modules/Roxen.pmod:1.326

1:   /* -  * $Id: snmpagent.pike,v 1.26 2009/05/26 14:26:15 mast Exp $ +  * $Id: snmpagent.pike,v 1.27 2012/02/14 22:20:52 jonasw Exp $    *    * The Roxen SNMP agent    * Copyright © 2001, Honza Petrous, hop@unibase.cz
376:   #else    //SNMPAGENT_MSG("Threads detected. One thread will be created for agent processing.");    th = thread_create( real_start ); +  roxen.name_thread(th, "SNMP agent");   #endif    }    }
776:      //! External function for MIB object 'system.sysDescr'   array get_description() { -  return OBJ_STR("Roxen Webserver SNMP agent v"+("$Revision: 1.26 $"/" ")[1]+" (devel. rel.)"); +  return OBJ_STR("Roxen Webserver SNMP agent v"+("$Revision: 1.27 $"/" ")[1]+" (devel. rel.)");   }      //! External function for MIB object 'system.sysOID'