[SPAM] Re: Self-contained one purpose objects

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 23 11:36:28 UTC 2015


On 23/07/15 12:29, Chris Johns wrote:
> I feel this needs to be a real API not a pseudo-internal API. Making
> this an API means the project agrees to support the API, it has tests
> and we have to make sure it is working for a release. Oh and it has
> documentation.

For an API I suggest to use C11/C++11:

http://en.cppreference.com/w/c/thread

For GCC this is done via this API:

https://gcc.gnu.org/viewcvs/gcc/trunk/libgcc/gthr.h?revision=219188&view=markup

-- 
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 at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list