From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: Compiling for Android Date: Tue, 24 Jun 2014 10:04:00 -0400 Message-ID: <87tx7av1yn.fsf@yeeloong.lan> References: <20140618215428.GA21875@mail.beuc.net> <87ppi3ansm.fsf@gnu.org> <20140621200625.GB9974@mail.beuc.net> <874mzeeylh.fsf@gnu.org> <20140622140829.GA745@mail.beuc.net> <87bntkoy3n.fsf@gnu.org> <20140623185907.GA29576@mail.beuc.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403618729 29043 80.91.229.3 (24 Jun 2014 14:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 14:05:29 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guile-user@gnu.org To: beuc@beuc.net Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jun 24 16:05:22 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzRLY-0003Zi-4l for guile-user@m.gmane.org; Tue, 24 Jun 2014 16:05:16 +0200 Original-Received: from localhost ([::1]:59953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzRLX-0000s2-LD for guile-user@m.gmane.org; Tue, 24 Jun 2014 10:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzRLG-0000o3-Us for guile-user@gnu.org; Tue, 24 Jun 2014 10:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzRLA-0000OH-Mw for guile-user@gnu.org; Tue, 24 Jun 2014 10:04:58 -0400 Original-Received: from world.peace.net ([96.39.62.75]:42486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzRLA-0000O5-Hf; Tue, 24 Jun 2014 10:04:52 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WzRL2-0003vB-Jd; Tue, 24 Jun 2014 10:04:44 -0400 In-Reply-To: <20140623185907.GA29576@mail.beuc.net> (beuc@beuc.net's message of "Mon, 23 Jun 2014 20:59:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11310 Archived-At: beuc@beuc.net writes: > Check ./docs/text/system/libc/OVERVIEW.text from the Android NDK: [...] > pthread_once(): [...] > The current implementation of pthread_once() lacks the necessary support of > multi-core-safe double-checked-locking (read and write barriers). This is the only bit that worries me. It sounds like Bionic's pthread_once() might not work properly on multi-core systems. We rely on 'pthread_once' for thread-safe lazy initialization in libguile. Mark