From owner-freebsd-current@freebsd.org Tue Jul 28 18:59:35 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E8B99ADEAA for ; Tue, 28 Jul 2015 18:59:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D80811F47; Tue, 28 Jul 2015 18:59:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iggf3 with SMTP id f3so134454315igg.1; Tue, 28 Jul 2015 11:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rcq/uH+8s553P9DCxEURBsLzcDjh1yjYFSWe/jZLY8k=; b=taKlKw9YYUTwhYzDzgqwnKDPdE3PWB4P+i3qSCnd6scdmsNbV/dtM9KVP7cf8xWEFS Vw1UnWOcOEiO9+8WRmT5rRMSwierKj0CMaaSWGw5OI/JL1pBgZf+dYXmQPWu6sOHFbtT Wp8xvhlkroux3cvcNxoU7hAdtDe3Gh5CgiajcJ5SJATCbZk6s/pNjVG5trfCcjpMH6gt P4MGcWFlgwyf9XSrg02nR4ja59P0KQaz7Ub6AeETQhFfIb7en+w9hKxH7SNAYYfmeTq6 XXvKw6eSCM9AWfeUCYrYoQvwCVwUALYWkjyE7C8483vCuXnoIvdMWlcCePwS9+3Buxlg fi7g== MIME-Version: 1.0 X-Received: by 10.50.103.73 with SMTP id fu9mr9852950igb.46.1438109974165; Tue, 28 Jul 2015 11:59:34 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Tue, 28 Jul 2015 11:59:34 -0700 (PDT) In-Reply-To: References: <20150728121949.GA64588@onelab2.iet.unipi.it> <74DCC090-6AA7-43B8-81A1-DF66BC357489@FreeBSD.org> Date: Tue, 28 Jul 2015 11:59:34 -0700 Message-ID: Subject: Re: eventfd lookalike in FreeBSD ? From: Adrian Chadd To: David Chisnall Cc: Luigi Rizzo , freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 18:59:35 -0000 On 28 July 2015 at 10:42, David Chisnall wrote: > On 28 Jul 2015, at 18:33, Adrian Chadd wrote: >> >> Windows has had this for years. It makes async network programming >> with thread worker queues significantly less abusive. > > Can you do the same with Solaris completion ports? It might be a good source of inspiration for a good API if so. I don't think you can do it with the solaris event ports. I don't know about their more later stuff. -a