starttls hogs CPU

Daiki Ueno ueno at unixuser.org
Wed Oct 17 13:57:26 JST 2001


>>>>> In [emacs-mime-en : No.00047] 
>>>>>	Simon Josefsson <jas at extundo.com> wrote:
> Without this, starttls busy-loops and hogs all CPU.  Maybe a new
> release is in place?

> 2001-10-13  Simon Josefsson  <jas at extundo.com>

> 	* starttls.c (main): Clear fd sets before select().

> --- starttls.c.~1.6.~	Sat Nov 18 05:44:00 2000
> +++ starttls.c	Sat Oct 13 20:09:03 2001

Thanks.  I've applied it.

  http://cvs.m17n.org/cgi-bin/viewcvs/starttls/

Additionally, reading the article below, I had decided to use poll()
instead of select() if it is present in the system.

  "A scalable and explicit event delivery mechanism for UNIX"
    http://www.usenix.org/publications/library/proceedings/usenix99/full_papers/banga/banga_html/

Regards,
-- 
Daiki Ueno




More information about the Emacs-mime-en mailing list