Set priority Improvement Proposal

Agostino Mascitti agostino.mascitti at student.univaq.it
Wed Oct 5 18:16:36 UTC 2016


Hi,


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? =)


Greetings,

Agostino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20161005/3de4d96d/attachment.html>


More information about the users mailing list