forked from Imagelibrary/rtems
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:
committed by
Sebastian Huber
parent
9d9df8b44e
commit
5ef9f23fb4
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user