package edu.vt.marian.server; import java.lang.*; import java.io.*; import java.util.*; import edu.vt.marian.common.*; import edu.vt.marian.uip.*; /** As far as I can tell, used only for testing routines (RKF 29Sep99). */ public class my_thread extends Thread { private Debug debug = null; private uip_log_manager ulm = null; public my_thread(uip_log_manager ulm, Debug debug) { this.debug = debug; this.ulm = ulm; } public void run() { rpc_function rf = new rpc_function(debug); rf.set_name("test_function"); while (true) { Random r = new Random(); int j = 0; for (int i = 0; i < (Math.abs(r.nextInt()) % 100); i++) { j++; } ulm.log_function_passed("aaa", "bbb", rf); } } }