Re: [PATCH] posix: Get real priority in pthread_getattr_np()

2020-05-15 Thread Gedare Bloom
Yes, please do push this in RTEMS 5. We want this to be consistent. On Fri, May 15, 2020 at 4:50 PM Sebastian Huber wrote: > > On 12/05/2020 07:28, Sebastian Huber wrote: > > > This is in line with pthread_setschedparam() and > > pthread_getschedparam(). > > > > Update #2514. > It should be in RT

Re: [PATCH] posix: Get real priority in pthread_getattr_np()

2020-05-15 Thread Sebastian Huber
On 12/05/2020 07:28, Sebastian Huber wrote: This is in line with pthread_setschedparam() and pthread_getschedparam(). Update #2514. It should be in RTEMS 5 from my point of view. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/l

Re: [PATCH] posix: Get real priority in pthread_getattr_np()

2020-05-13 Thread Heinz Junkes
Thanks for the good ideas. I have now replaced the accesses to the internal thread structure (real_priority, current_priority) with API - calls. One of the calls is from the pthread-library and therefore needs --enable-posix when creating the BSP. Calls used pthread_getschedparam rtems_task_set_

[PATCH] posix: Get real priority in pthread_getattr_np()

2020-05-11 Thread Sebastian Huber
This is in line with pthread_setschedparam() and pthread_getschedparam(). Update #2514. --- cpukit/posix/src/pthreadgetattrnp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cpukit/posix/src/pthreadgetattrnp.c b/cpukit/posix/src/pthreadgetattrnp.c index a449ad48e