libcsupport: Use POSIX keys for GXX key functions

With this patch C++ applications now eventually need additional POSIX-keys and
POSIX-key-value-pairs configured.
This commit is contained in:
Christian Mauderer
2014-03-21 14:29:55 +01:00
committed by Sebastian Huber
parent 9d9df8b44e
commit 5ef9f23fb4
7 changed files with 88 additions and 76 deletions

View File

@@ -18,9 +18,7 @@
void force_error()
{
__gthread_key key;
pthread_key_t key = -1;
rtems_workspace_greedy_allocate( NULL, 0 );
rtems_gxx_getspecific( &key );
rtems_gxx_setspecific( &key, NULL );
}