[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A solution to pthread_getattr_np on MacOS X and potentially others.
From: |
Kevin Ryde |
Subject: |
Re: A solution to pthread_getattr_np on MacOS X and potentially others. |
Date: |
Mon, 26 Feb 2007 09:48:50 +1100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Steven Wu <address@hidden> writes:
>
> + start = pthread_get_stackaddr_np (self_id); \
Thanks, in fact we have some code in the cvs with that,
/* This method for MacOS X.
It'd be nice if there was some documentation on pthread_get_stackaddr_np,
but as of 2006 there's nothing obvious at apple.com. */
#define HAVE_GET_THREAD_STACK_BASE
static SCM_STACKITEM *
get_thread_stack_base ()
{
return pthread_get_stackaddr_np (pthread_self ());
}
Perhaps you could you see if that's enough.
> + <<<<<<< threads.c
> + >>>>>>> 1.88
You appear to have some cvs merge conflicts there ...