8 Nov
2005
8 Nov
'05
12:35 p.m.
Frank Cusack <fcusack@fcusack.com> wrote:
Sorry to second guess you, especially when I don't know the code path, but is such a drastic measure needed? My worry would be that a thread processing a request has some resource allocated or open, which would then leak.
... just before the process exits.
If the kill is safe, perhaps a comment indicating the circumstance would be appropriate, just for the sake of code browsing.
The only time rl_deinit() should be called is when the server is exiting. Going forward, we need a separate global list of REQUEST's that are "live", and can't be deleted for a period of time. This will help when threads get blocked, too. Alan DeKok.