unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Add stack base support for Mac OS X
Date: Wed, 27 Dec 2006 09:04:11 +1100	[thread overview]
Message-ID: <87psa671r8.fsf@zip.com.au> (raw)
In-Reply-To: <4591909E.2040806@cs.helsinki.fi> (Heikki Lindholm's message of "Tue, 26 Dec 2006 23:14:06 +0200")

Heikki Lindholm <holindho@cs.helsinki.fi> 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


  reply	other threads:[~2006-12-26 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-26 10:41 [PATCH] Add stack base support for Mac OS X Heikki Lindholm
2006-12-26 19:45 ` Kevin Ryde
2006-12-26 21:14   ` Heikki Lindholm
2006-12-26 22:04     ` Kevin Ryde [this message]
2006-12-26 22:24       ` Heikki Lindholm
2006-12-26 22:43         ` Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87psa671r8.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).