Set priority Improvement Proposal
agostino.mascitti at student.univaq.it
Wed Oct 5 18:16:36 UTC 2016
I was trying to modify the priority of a task and did not want to get the older one. So I passed a NULL for oldpriority parameter (the 3rd). and function rtems_task_set_priority returned RTEMS_INVALID_ADDRESS. I think this is because, I guess, there is no check for oldpriority == NULL => return RTEMS_SUCCESSFUL.
This could be the case to add this check to the source code? =)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users