posix: Update to the pthread_once changes.

Implement the reeview changes.
Add a POSIX Fatal error domain.
Fix confdefs.h to correctly handle the internal POSIX mutexes.
This commit is contained in:
Chris Johns
2013-08-23 14:56:36 +10:00
parent c9b66f5ed3
commit 6e4c01e3a2
8 changed files with 137 additions and 102 deletions
+7
View File
@@ -44,6 +44,13 @@
#include <rtems/posix/spinlockimpl.h>
#include <rtems/posix/time.h>
void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno )
{
uint32_t code = ( domain << 8 ) | ( ( uint32_t ) eno & 0xffU );
_Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, false, code );
}
Objects_Information *_POSIX_Objects[ OBJECTS_POSIX_CLASSES_LAST + 1 ];
void _POSIX_API_Initialize(void)