This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [patch] RTEMS pthread.h changes
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Wed, 8 Dec 2010 11:02:47 +0100
- Subject: Re: [patch] RTEMS pthread.h changes
- References: <4CFE5C23.7020008@rtems.org>
- Reply-to: newlib at sourceware dot org
Hi Ralf,
On Dec 7 17:09, Ralf Corsepius wrote:
> Hi,
>
> I am submitting the patch below on behalf of Joel, who currently is
> busy with other obligations.
>
> This patch adds a couple of POSIX pthread functions RTEMS is
> supporting and adds a new field "guardsize" to pthread_attr_t RTEMS
> internally applies to implement these functions.
>
> The latter is an ABI change and therefore might not be suitable for
> other OSes. May-be it should be enclosed into #ifndef __CYGWIN__ or
> #ifdef __rtems__ defines?
Cygwin has its own pthread.h, so Cygwin doesn't matter here. However,
since it's an ABI change I'd suggest to enclose it in __rtems__
brackets. It should only be enabled on a case by case basis.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat