This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 3/3] C11 threads support
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: newlib at sourceware dot org, RTEMS <devel at rtems dot org>
- Date: Thu, 8 Oct 2015 07:28:29 +0200
- Subject: Re: [PATCH 3/3] C11 threads support
- Authentication-results: sourceware.org; auth=none
- References: <1442821408-10824-1-git-send-email-sebastian dot huber at embedded-brains dot de> <1442821408-10824-3-git-send-email-sebastian dot huber at embedded-brains dot de> <1932245176 dot 46341451 dot 1444255481018 dot JavaMail dot zimbra at redhat dot com>
Hello Jeff,
I sent the RTEMS implementation of this API to the RTEMS list only:
https://lists.rtems.org/pipermail/devel/2015-September/012597.html
https://lists.rtems.org/pipermail/devel/2015-September/012598.html
It is a slight modification of the FreeBSD libstdthreads. The original
FreeBSD implementation uses <pthread.h>, so it would be possible to add
this as a default implementation for Newlib. I am not sure how to
integrate this in the build system. If desired, this could be done in a
second step.
On 08/10/15 00:04, Jeff Johnston wrote:
I am ok with this although I would like to hear that at least RTEMS or another configuration
supports or plans to support threads.h and functions. C11 says that the flag __STDC_NO_THREADS__
can be used to indicate that threads.h and the functions are missing.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.