19 #ifndef _RTEMS_POSIX_SPINLOCKIMPL_H 20 #define _RTEMS_POSIX_SPINLOCKIMPL_H 98 pthread_spinlock_t *spinlock,
103 &_POSIX_Spinlock_Information,
void _Objects_Free(Objects_Information *information, Objects_Control *the_object)
Frees an object.
Definition: objectfree.c:25
CORE_spinlock_Status
Core Spinlock handler return statuses.
Definition: corespinlockimpl.h:37
Inlined Routines Associated with the SuperCore Spinlock.
Objects_Control * _Objects_Allocate(Objects_Information *information)
Allocates an object.
Definition: objectallocate.c:101
int _POSIX_Spinlock_Translate_core_spinlock_return_code(CORE_spinlock_Status the_spinlock_status)
Translate core spinlock status code.
Definition: pspinlocktranslatereturncode.c:38
#define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
POSIX Threads Private Support.
Objects_Control * _Objects_Get(Objects_Information *information, Objects_Id id, Objects_Locations *location)
Maps object ids to object control blocks.
Definition: objectget.c:23
This type defines the control block used to manage each spinlock.
Definition: spinlock.h:49
Objects_Control Object
This is used to manage a spinlock as an object.
Definition: spinlock.h:51
RTEMS_INLINE_ROUTINE POSIX_Spinlock_Control * _POSIX_Spinlock_Get(pthread_spinlock_t *spinlock, Objects_Locations *location)
Get a spinlock control block.
Definition: spinlockimpl.h:97
void _POSIX_Spinlock_Manager_initialization(void)
POSIX spinlock manager initialization.
Definition: pspin.c:29
RTEMS_INLINE_ROUTINE void _POSIX_Spinlock_Free(POSIX_Spinlock_Control *the_spinlock)
Free a spinlock control block.
Definition: spinlockimpl.h:79
RTEMS_INLINE_ROUTINE POSIX_Spinlock_Control * _POSIX_Spinlock_Allocate(void)
Allocate a spinlock control block.
Definition: spinlockimpl.h:67
Objects_Locations
This enumerated type lists the locations which may be returned by _Objects_Get.
Definition: objectimpl.h:117
Inlined Routines in the Object Handler.
uint32_t Objects_Id
The following type defines the control block used to manage object IDs.
Definition: object.h:122
#define POSIX_EXTERN
The following ensures that all data is declared in the space of the initialization routine for either...
Definition: basedefs.h:123
POSIX_EXTERN Objects_Information _POSIX_Spinlock_Information
The following defines the information control block used to manage this class of objects.
Definition: spinlockimpl.h:37