[rtems commit] posix: Change pthread_once to be SMP safe.

Chris Johns chrisj at rtems.org
Wed Aug 14 10:21:34 UTC 2013


Sebastian Huber wrote:
>
> This looks good, but I would use
>
> 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 );
> }
>

Good idea.

Chris



More information about the devel mailing list