Project

General

Profile

Feature #8788

use eventfd on newer Linux instead of pipe for timer thread

Added by normalperson (Eric Wong) almost 7 years ago. Updated over 2 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:56634]

Description

eventfd is a cheaper alternative to pipe for self-notification (signals) on Linux

I will submit patches in the next few days/weeks unless there are objections
(or somebody else wants to do it sooner). I'd also like to cleanup some of the existing #ifdefs in that area while I'm at it.


Files

0001-thread_pthread-use-eventfd-under-Linux-for-timer-thr.patch (9.08 KB) 0001-thread_pthread-use-eventfd-under-Linux-for-timer-thr.patch use eventfd on Linux normalperson (Eric Wong), 08/17/2013 06:40 AM
0001-thread_pthread-use-eventfd-under-Linux-for-timer-thr.patch (9.07 KB) 0001-thread_pthread-use-eventfd-under-Linux-for-timer-thr.patch PATCH v2 - eventfd_compat should return void normalperson (Eric Wong), 08/17/2013 06:53 AM
tt_efd_v2.patch (5.91 KB) tt_efd_v2.patch normalperson (Eric Wong), 07/08/2014 10:38 PM

Also available in: Atom PDF