On Mon, Feb 18, 2002 at 06:40:43PM +0100, Niklas Mehner wrote:
<> 
> do not indicate a dead-lock, but simply many messages for a Ticket to be 
> worked on. Since this causes many threads to be blocked, I would change 
> this code, so only one thread works on the method calls (and the other 
> messages are stored in a list) ... 

I'm not against changing the Ticket code to have a message execution
queue of it's own rather than using the thread queue. It felt like a
better idea to just queue up the threads before, but I, at least, never
intended for Fred to handle more than a couple of hundred messages an
hour, with people being flooded by tens of thousands that sort of
changes things. It is certainly a simpler way to get rid of some waiting
threads then trying to change the CH.

I feel the design of the state system is at least a little vindicated by
the fact that it would be possible to change that without effecting
any of the actual application code.

> Or is it a bug, that so many messages 
> are waiting in the first place ?

It could be.

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to