[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] Using timerfd and signalfd on Linux
- To: libevent-users@xxxxxxxx
- Subject: [Libevent-users] Using timerfd and signalfd on Linux
- From: Shuo Chen <giantchen@xxxxxxxxx>
- Date: Fri, 19 Mar 2010 20:42:04 +0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Fri, 19 Mar 2010 08:42:30 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=4SdFWuoyFnscHQOr0ETx7asZYQupG1x7tpMgxZ95U3w=; b=bxy6+ffpVGFFxLiO5gyBm6aVvSz+xlhjdE9+v8rN7uElqGWV2JIZUUhrp34uN3ylyi IdTlhJrs3W6ADsnLJ1xsuei08j6kyOPXlr71dxa2XdzWAblohD3G6QBFxXnI993l23F2 hYEmTCrRKV73pUb1mRzYBc+6tfQ8THxQW9SFU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=dQjeccaiBP2+1trjUmkhVORyqojc3lZBfOy0JA91/0skObG5AmULyRENOS1oAeAcRJ Pw1vEUoQcirQNPUybTkdyEolbl9+uFy76827aS2Hzs3TK4ZycvUOcAlpfGF0p2WbqwSn WIGEf1J7HkREFcbLV8kOdYAR7x+GarmFzGOjs=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi there,
Is it possible that libevent 2.0 utilizes timerfd and/or signalfd
provided by recent Linux kernels?
- timerfd features a better timing resolution (microseconds) than
epoll (milliseconds), and
- signalfd makes signal handling like reading a file descriptor
Seems libevent already uses eventfd on Linux if it's available, which
it good I think.
Regards,
Shuo Chen
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.