Configuration define statement for using pthread_key_create().

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 15 11:14:03 UTC 2014


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.

-- 
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 users mailing list