Configuration define statement for using pthread_key_create().
Joel Sherrill
Joel.Sherrill at OARcorp.com
Tue Apr 15 12:37:39 UTC 2014
On Apr 15, 2014 6:11 AM, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>
> On 2014-04-15 13:08, Sebastian Huber wrote:
> >> Case 2.
> >> #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
> >> #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
> >> #define CONFIGURE_UNLIMITED_OBJECTS
> >
> > In case of unlimited objects you should also use:
> >
> > #define CONFIGURE_UNIFIED_WORK_AREAS
> >
> >> #define CONFIGURE_POSIX_INIT_THREAD_TABLE
> >> #define CONFIGURE_INIT
> >> #include <rtems/confdefs.h>
>
> I just realized that the unlimited objects support is broken for POSIX keys.
> So you should use Case 1.
Which part do you think is broken? The move to rbtree implementation removed the issue with more threads being added. You can still run out of key/value pairs but keys work with unlimited threads.
> --
> 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.
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140415/c16d4f83/attachment-0001.html>
More information about the users
mailing list