From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS47066 71.19.144.0/20 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: normalperson@yhbt.net Received: from zedshaw2.xen.prgmr.com (zedshaw2.xen.prgmr.com [71.19.156.177]) by dcvr.yhbt.net (Postfix) with ESMTP id E805B1F70D for ; Mon, 26 Aug 2013 08:52:46 +0000 (UTC) Received: from zedshaw2.xen.prgmr.com (unknown [IPv6:::1]) by zedshaw2.xen.prgmr.com (Postfix) with ESMTP id 7662A74E0B for ; Mon, 26 Aug 2013 09:01:04 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 26 Aug 2013 16:52:09 +0800 From: "Lin Jen-Shin (godfat)" List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Message-Id: Precedence: list References: <1377506784-48542-1-git-send-email-godfat@godfat.org> Sender: sleepy.penguin@librelist.org Subject: [sleepy.penguin] Re: [PATCH] Add support for Mac OS X To: sleepy.penguin@librelist.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Aug 26, 2013 at 4:46 PM, Lin Jen-Shin wrote: > Since Mac OS X does not support clock_gettime, we need to wrap > around clock_gettime to make kqueue work on Mac OS X. > > epoll.c does not need this wrapper as it's only on Linux, > but I guess it's fine to use the wrapper as well. Maybe > someday *BSD could also support epoll in someway? [...] Unfortunately, this looks like an intrusive patch that makes calling clock_gettime not as straight as before (in terms of code readability). Feel free to not merge this then. I could totally understand it.