Closed wsky closed 11 years ago
if client not changed to be thread safe, LRU queue must be a copy
Queue<ClientConnection> connectionQueue=new ConcurrentLinkedQueue<ClientConnection>(this.connections);
or just sync but bad perf
protected synchronized void SendMessage(CancellationToken token, Object message) {}
in LRU flush
sad that if client was in concurrent,
maybe got null, then message drop