Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D3E8CB25 for ; Wed, 21 Jan 2015 19:10:12 +0000 (UTC) Received: (qmail 41166 invoked by uid 500); 21 Jan 2015 18:58:14 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 22497 invoked by uid 500); 21 Jan 2015 18:57:48 -0000 Mailing-List: contact dev-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 dev@mesos.apache.org Received: (qmail 7418 invoked by uid 99); 21 Jan 2015 17:54:40 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 17:54:40 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A40AD1D3650; Wed, 21 Jan 2015 17:54:36 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3107963193410574275==" MIME-Version: 1.0 Subject: Review Request 29569: Refactored Once abstraction to not use Promise. From: "Benjamin Hindman" To: "Joris Van Remoortere" , "Niklas Nielsen" Cc: "mesos" , "Benjamin Hindman" Date: Wed, 21 Jan 2015 17:54:36 -0000 Message-ID: <20150121175436.9402.80582@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Benjamin Hindman" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/29569/ X-Sender: "Benjamin Hindman" Reply-To: "Benjamin Hindman" X-ReviewRequest-Repository: mesos-git --===============3107963193410574275== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29569/ ----------------------------------------------------------- Review request for mesos, Joris Van Remoortere and Niklas Nielsen. Repository: mesos-git Description ------- The original once abstraction was implemented using promises, which made it unusable to initialize libprocess because libprocess must be initialized in order to use a Promise. This removes that requirement, but it also means that an actor blocking on a Once will no longer donate it's thread while it's waiting (since it doesn't wait on a Promise, which waits on a Latch, which waits on a ProcessBase, which donates the thread while waiting). Diffs ----- 3rdparty/libprocess/include/process/once.hpp e85b38205065b34d438f68a6441905eb2f90169c Diff: https://reviews.apache.org/r/29569/diff/ Testing ------- make check Thanks, Benjamin Hindman --===============3107963193410574275==--