From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Running guile single-threaded? Date: Sun, 17 May 2020 08:39:54 -0700 Message-ID: References: <87tv0elgzb.fsf@cune.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun May 17 17:40:09 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jaLOb-00006z-7h for guile-user@m.gmane-mx.org; Sun, 17 May 2020 17:40:09 +0200 Original-Received: from localhost ([::1]:41990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaLOa-0000kN-9C for guile-user@m.gmane-mx.org; Sun, 17 May 2020 11:40:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaLOR-0000kE-0q for guile-user@gnu.org; Sun, 17 May 2020 11:39:59 -0400 Original-Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:35694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaLOQ-0002yd-CT for guile-user@gnu.org; Sun, 17 May 2020 11:39:58 -0400 Original-Received: by mail-pj1-x1036.google.com with SMTP id 5so517895pjd.0 for ; Sun, 17 May 2020 08:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=h0bXZ5VzJGGOZgXdya6ja7LpU1Wz9+lddRmHC4blDYs=; b=AAC+aVYVVHFflHXhYzASCZb3sLEN5xl0MaK9xAL5JotTCasUmp9mVhhB84pEo/iSOg m40xazqbtP+SlChSYRDeofVaXJ8dNTB4bN4/WwgjP7VrO9XUCwmiHBCLxBjkDvIbyaeT FLCNth5K9xdqiVB+Yk88u1tpYiBX+G6JniGUnZf+MI2XhwLA8fckOjQB6/NgSrsGWNiq DQ5rTggE+d9Z5Jv+1EtzYUnrla18LQCPyZ2nx9qHNP9o7QzobMxcDr9j6pCblec0S3sO oi84ixiqi4mkhVYgn+3D1d3zus/I/kwthhrs9VNlPGokbMpJNI9jwYjfesbFyx98Uw3k alMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=h0bXZ5VzJGGOZgXdya6ja7LpU1Wz9+lddRmHC4blDYs=; b=rpa1oTbEFiKahYRLetBlyVuOG1eWNPLDrVcMPmt/phXS8DbB3fiBIjRkrzPsVvQhvk qijqqhLqJbgzfW6z2t1dJmhprhR8+l9EbMLMFaCF1nKtC9zeXGhPQ6Ezvm83usHTunA4 vqWO9uHirfTLJbhz6GtNu78ZCU+7BMUNuuxxcHdOns7Hq9TLFKTxx+k7m1bN+pZmkwBQ JPBXxC5D3z6mxZw9xJRfFSXrroxTpsyu3aS6QEj8uka6boud1ZFsdWqfPx2rfS1fOLC8 p2H9puZFWdO2nx9nXK2lLut+5iaiLELrQVweRNJ6GMVHub91w+V0+QVRTbapZOewQRDB oZeQ== X-Gm-Message-State: AOAM532ryDFokBqalb9aQ5Osq+5gQveXXa8y1YMdidDiRSVtByy12oiX n478ZFfeC1x+M3k+YqNq1O78E5PF X-Google-Smtp-Source: ABdhPJyPHnAiOncTS+HjdZIxN2HhtKQBHpbJMBZsEsEWrxbgxn28tMG1R6kQXqQNc44tdz4oFQdLpQ== X-Received: by 2002:a17:90a:8c09:: with SMTP id a9mr1595799pjo.172.1589729996142; Sun, 17 May 2020 08:39:56 -0700 (PDT) Original-Received: from [192.168.2.183] (64-52-176-132.championbroadband.com. [64.52.176.132]) by smtp.gmail.com with ESMTPSA id v26sm6410343pfe.121.2020.05.17.08.39.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 May 2020 08:39:55 -0700 (PDT) In-Reply-To: <87tv0elgzb.fsf@cune.org> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x1036.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16474 Archived-At: On 5/17/20 8:27 AM, Caleb Ristvedt wrote: > I'm trying to use unshare() with the CLONE_NEWUSER flag, but this > requires that the process be single-threaded (otherwise I always get > EINVAL). /proc//task has 6 entries when I launch guile, 5 > after disabling automatic finalization. I can't seem to find a way to > get that down to 1. Is this feasible? > > - reepca > I don't this is possible without building guile using --without-threads argument to configure.  Otherwise, the mutl-threaded gc is included.