RTEMS CPU Kit with SuperCore  4.11.3
Functions
pspinlocktranslatereturncode.c File Reference

POSIX Spinlock Translate Core Spinlock Return Code. More...

#include <pthread.h>
#include <errno.h>
#include <rtems/system.h>
#include <rtems/score/corespinlock.h>
#include <rtems/posix/spinlockimpl.h>
Include dependency graph for pspinlocktranslatereturncode.c:

Functions

int _POSIX_Spinlock_Translate_core_spinlock_return_code (CORE_spinlock_Status the_spinlock_status)
 Translate core spinlock status code. More...
 

Detailed Description

POSIX Spinlock Translate Core Spinlock Return Code.

Function Documentation

◆ _POSIX_Spinlock_Translate_core_spinlock_return_code()

int _POSIX_Spinlock_Translate_core_spinlock_return_code ( CORE_spinlock_Status  the_spinlock_status)

Translate core spinlock status code.

This routine translates SuperCore Spinlock status codes into the corresponding POSIX ones.

Parameters
[in]the_spinlock_statusis the SuperCore status.
Returns
the corresponding POSIX status

References CORE_SPINLOCK_STATUS_LAST.