author | Sebastian Harl <sh@tokkee.org> | |
Fri, 8 Dec 2006 14:12:42 +0000 (15:12 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 8 Dec 2006 14:29:34 +0000 (15:29 +0100) | ||
commit | f058adfa20f3a17eba344d1613c634c137980875 | |
tree | b16b2bfe174b74ece8b78eedd86b8d45156a0c47 | tree | snapshot |
parent | 80cc7fdf78fbda3f154666f20a2868988dcc68b2 | commit | diff |
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>
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 | diff | blob | history |