Do not forceTimeOut when a threadGroup has been set#83
Do not forceTimeOut when a threadGroup has been set#83stepcut merged 1 commit intoHappstack:masterfrom
Conversation
|
How does that work? Can you actually detect activity and assert your own timeouts? How do you manually handle threads -- it seems like the handler loop built into I am not quite sure why the I would definitely like to see better support for creating your own scheduler which allows you to create a application specific scheduler that deals with spawning threads, handling timeouts, etc. |
Well, yes, it's what it's for. But if you run the server in a thread that receives a |
|
If |
|
Oh, nothing sophisticated in my case: just a thread that waits for N seconds before shutting everything in the threadGroup, leaving a period of time sufficient for most handlers to terminate as they should. |
|
@stepcut this PR allows with minimal traction for clients to do what happens in |
|
Oh! I misunderstood what this patch was doing. On the surface, this patch seems reasonable. I'll need to ponder it for a bit to be sure. |
Force timeout should not be performed if a threadGroup has been provided, since it means we manually handle threads.