Re: [CFR] reflect resolv.conf update to running application
From: Hajimu UMEMOTO (ume_at_freebsd.org)
Date: 08/21/05
- Previous message: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Aug 2005 19:27:07 +0900 To: Alexander Leidinger <Alexander@Leidinger.net>
Hi,
>>>>> On Sun, 21 Aug 2005 11:54:54 +0200
>>>>> Alexander Leidinger <Alexander@Leidinger.net> said:
Alexander> Can kqueue be used instead of polling?
It may be able to use kqueue. However, I'm not sure how kevent() is
cheap than stat(). It requires holding a file descriptor for
monitoring change of resolv.conf. The logic will be slightly
complicate, and it may cause memory leak. So, unless there is
significant advantage to use kqueue, stat() is better here, IMHO.
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- In reply to: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Alexander Leidinger: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|