Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A6725200828 for ; Fri, 13 May 2016 19:42:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A53A91602BE; Fri, 13 May 2016 17:42:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F062816099F for ; Fri, 13 May 2016 19:42:13 +0200 (CEST) Received: (qmail 68555 invoked by uid 500); 13 May 2016 17:42:13 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 68453 invoked by uid 99); 13 May 2016 17:42:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2016 17:42:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D111A2C1F5D for ; Fri, 13 May 2016 17:42:12 +0000 (UTC) Date: Fri, 13 May 2016 17:42:12 +0000 (UTC) From: "Joris Van Remoortere (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-5371) Implement `fcntl.hpp` MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 May 2016 17:42:14 -0000 [ https://issues.apache.org/jira/browse/MESOS-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282908#comment-15282908 ] Joris Van Remoortere commented on MESOS-5371: --------------------------------------------- {code} commit 4c6162d5e3535f4611e869e143c91454033dca2d Author: Alex Clemmer Date: Fri May 13 13:25:57 2016 -0400 Windows: Added stub implementations of `fcntl.hpp` functions. This commit introduces temporary versions of 2 important functions: `os::nonblock` and `os::cloexec`. We put them here in a placeholder commit so that reviewers can make progress on subprocess. In the immediate term, the plan is to figure out on a callsite-by-callsite basis how to work around the functionality of `os::cloexec`. When we collect more data, we will be in a better position to offer a way forward here. Review: https://reviews.apache.org/r/46392/ {code} > Implement `fcntl.hpp` > --------------------- > > Key: MESOS-5371 > URL: https://issues.apache.org/jira/browse/MESOS-5371 > Project: Mesos > Issue Type: Bug > Components: stout > Reporter: Alex Clemmer > Assignee: Alex Clemmer > Labels: mesosphere, stout, windows-mvp > > `fcntl.hpp` has a bunch of functions that will never work on Windows. We will need to work around them, either by working around specific call sites of functions like `os::cloexec`, or by implementing something that keeps track of which file descriptors are cloexec, and which aren't. -- This message was sent by Atlassian JIRA (v6.3.4#6332)