From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: setitimer with Cygwin and Hurd Date: Tue, 07 Mar 2017 15:37:53 +0100 Message-ID: <87k281885a.fsf@pobox.com> References: <1493122235.1719816.1488779191346.ref@mail.yahoo.com> <1493122235.1719816.1488779191346@mail.yahoo.com> <8737eq9kw8.fsf@pobox.com> <1079723129.393127.1488897076118@mail.yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488897498 14543 195.159.176.226 (7 Mar 2017 14:38:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2017 14:38:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Guile-devel Development To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 07 15:38:11 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clGFe-00036U-El for guile-devel@m.gmane.org; Tue, 07 Mar 2017 15:38:10 +0100 Original-Received: from localhost ([::1]:50941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clGFk-0008FM-HZ for guile-devel@m.gmane.org; Tue, 07 Mar 2017 09:38:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clGFa-0008F7-CG for guile-devel@gnu.org; Tue, 07 Mar 2017 09:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clGFW-0006qI-Er for guile-devel@gnu.org; Tue, 07 Mar 2017 09:38:06 -0500 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:50621 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clGFW-0006q0-BX for guile-devel@gnu.org; Tue, 07 Mar 2017 09:38:02 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 8C85175905; Tue, 7 Mar 2017 09:38:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=St1zim7Fqhb2vGjTIewgBxq2prk=; b=nCC8HL 5YFyJs73aB6mT4Lm02tOla6iRTxf/QA6XmYX5223CvDzHhTrKpTFiR1EhG7pqz+P CAGuDOtAhKBG5Lu+uJCWpMgKTbpsCQRSDe/bCslqGX9yMLVSB6VJDwGZLUpxHHpG cCyVpq8BS6Glf1mJmmDFY0DfaeI4XPGIZimbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Yx74/UDd64lK5Vvly+iYo58wf7TfbcOh CM4jNVnrd+rvJEE3f+qjsHV/l/mPjKYiq5N1dlSLFpmZTMTkIBiz8Iw8q54apgm+ ajSokOBBGGaoc+FvN9yn+HMVIqn7xtPpL82P/2vkZN7BdkBH6AYm4+LWI3lv97+v uwYEAeWBoj8= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 6F93A75903; Tue, 7 Mar 2017 09:38:01 -0500 (EST) Original-Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 49A0075902; Tue, 7 Mar 2017 09:38:00 -0500 (EST) In-Reply-To: <1079723129.393127.1488897076118@mail.yahoo.com> (Mike Gran's message of "Tue, 7 Mar 2017 14:31:16 +0000 (UTC)") X-Pobox-Relay-ID: A9D0B604-0343-11E7-B634-B667064AB293-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.66 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18996 Archived-At: On Tue 07 Mar 2017 15:31, Mike Gran writes: >>> On Hurd, calls to setitimer and getitimer for the profiling >>> and virtual timers will always fail with ENOSYS. >>> On Cygwin, calls to setitimer and getitimer for the >>> profiling and virtual timers will always fail with EINVAL. > >>Is it possible to avoid defining these interfaces if they will never >>work? > >>Is that even a good idea? :) Maybe not. Would be better to have >>(defined? 'setitimer) or so. If not, a setitimer feature I guess -- >>(provided? 'setitimer). > This is what I came up with > branch wip-itimer-checks > commit f5b362586d7622c408d4402c7cb496c45ffb56e8 > What do you think? Looks great. Thank you, please push! Andy