From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add stack base support for Mac OS X Date: Wed, 27 Dec 2006 09:04:11 +1100 Message-ID: <87psa671r8.fsf@zip.com.au> References: <4590FC62.1010507@cs.helsinki.fi> <87y7ou786j.fsf@zip.com.au> <4591909E.2040806@cs.helsinki.fi> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167170688 26622 80.91.229.10 (26 Dec 2006 22:04:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2006 22:04:48 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 26 23:04:46 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GzKPV-0001XU-2k for guile-devel@m.gmane.org; Tue, 26 Dec 2006 23:04:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzKPU-0004G7-Nx for guile-devel@m.gmane.org; Tue, 26 Dec 2006 17:04:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzKPQ-0004G1-LH for guile-devel@gnu.org; Tue, 26 Dec 2006 17:04:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzKPN-0004Fp-Ea for guile-devel@gnu.org; Tue, 26 Dec 2006 17:04:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzKPN-0004FX-2l for guile-devel@gnu.org; Tue, 26 Dec 2006 17:04:29 -0500 Original-Received: from [61.8.2.215] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzKPK-0000AG-Rd for guile-devel@gnu.org; Tue, 26 Dec 2006 17:04:28 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id F2586328391; Wed, 27 Dec 2006 09:04:22 +1100 (EST) Original-Received: from localhost (ppp279F.dyn.pacific.net.au [61.8.39.159]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 65E098C0A; Wed, 27 Dec 2006 09:04:21 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GzKP6-0002IK-Ai; Wed, 27 Dec 2006 09:04:12 +1100 Original-To: Heikki Lindholm Mail-Copies-To: never In-Reply-To: <4591909E.2040806@cs.helsinki.fi> (Heikki Lindholm's message of "Tue, 26 Dec 2006 23:14:06 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6372 Archived-At: Heikki Lindholm writes: > > Uh, say what? Do you have a pointer to the docs of pthread_get_stackaddr_np on macos? I stuck it in a search somewhere at developer.apple but drew a blank. In any case I'll add this if it looks right, thanks. +#elif HAVE_PTHREAD_GET_STACKADDR_NP +/* This method for MacOS X. */ +#define HAVE_GET_THREAD_STACK_BASE +static SCM_STACKITEM * +get_thread_stack_base () +{ + return pthread_get_stackaddr_np (pthread_self ()); +} + _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel