Make runner variable volatile.

This commit is contained in:
hns 2005-06-06 19:28:14 +00:00
parent 107aaa6a59
commit 5bc692e923

View file

@ -32,7 +32,7 @@ import java.util.*;
public class Logging extends LogFactory { public class Logging extends LogFactory {
// we use one static thread for all Loggers // we use one static thread for all Loggers
static Runner runner; static volatile Runner runner;
// the list of active loggers // the list of active loggers
static ArrayList loggers = new ArrayList(); static ArrayList loggers = new ArrayList();