RTEMS: Thread_Wait_information_Object_argument_type Union Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
Thread_Wait_information_Object_argument_type Union Reference
Internal » SuperCore » Thread Handler

Union type to hold a pointer to an immutable or a mutable object. More...

`#include <thread.h>`

## Data Fields
void * | mutable_object
const void * | immutable_object

## Detailed Description

Union type to hold a pointer to an immutable or a mutable object.

The main purpose is to enable passing of pointers to read-only send buffers in the message passing subsystem. This approach is somewhat fragile since it prevents the compiler to check if the operations on objects are valid with respect to the constant qualifier. An alternative would be to add a third pointer argument for immutable objects, but this would increase the structure size.

The documentation for this union was generated from the following file:

- cpukit/include/rtems/score/thread.h