email plugin: Use a thread pool.
authorSebastian Harl <sh@tokkee.org>
Fri, 8 Dec 2006 14:12:42 +0000 (15:12 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 8 Dec 2006 14:29:34 +0000 (15:29 +0100)
commitf058adfa20f3a17eba344d1613c634c137980875
treeb16b2bfe174b74ece8b78eedd86b8d45156a0c47
parent80cc7fdf78fbda3f154666f20a2868988dcc68b2
email plugin: Use a thread pool.

Up to now the email plugin created a thread for each connection. This thread
was destroyed after the connection has been closed. Now, a pool containing
MaxConns threads is created and a new connection is assigned to a free thread.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/email.c