Why get_buffer can not wait?
Joel Sherrill
joel.sherrill at oarcorp.com
Mon May 22 16:52:31 UTC 2006
leonp at plris.com wrote:
>Hello, all.
>
>The "rtems_partition_get_buffer" has no option for blocking and waiting for
>buffer availability. The manual says:
>"...unsuccessful return code is returned immediately to the caller. Tasks
>cannot block to wait for a buffer to become available."
>I am interested to understand what is the cause of this limitation, if
>somebody knows...:-))
>
>Thanks for satisfying my curiosity.
>
>
It is just a reflection of the original RTEID specification.
The specification did not allow for blocking on partition
get or global regions.
Adding it wouldn't be terribly hard and wouldn't be turned down.
Just remember to add user documentation.
--joel
More information about the users
mailing list