Help with debugging a POSIX timing test.

Joel Sherrill joel.sherrill at OARcorp.com
Sun Nov 24 17:50:06 UTC 2013


Sorry to be lazy/stupid but how to I download just
the diff to see what's going on? I am not that
github literate.

--joel

On 11/24/2013 11:28 AM, Chirayu Desai wrote:
> Hello everyone.
> 
> I am Chirayu Desai, a high school student, currently participating in
> Google Code-In 2013
> 
> I have currently working on the task [0], but I'm having some trouble
> trying to get my code[1] to work.
> 
> The task is to create a POSIX timing test psxtmthread05.
> The test case is: pthread_setschedparam() - lower own priority.
> I managed to write up something [2], but it doesn't work.
> The GDB output is:
> 
> (gdb) r
> Starting program:
> /home/cdesai/rtems/b-sis/sparc-rtems4.11/c/sis/testsuites/psxtmtests/psxtmthread05/psxtmthread05.exe 
> 
> 
> *** POSIX TIME TEST PSXTMTHREAD05 ***
> getschedparam: 3
> Original priority: 5
> Lowered priority: 4
> setschedparam: 3
> pthread_setschedparam - lower own priority 2226
> *** END OF POSIX TIME TEST PSXTMTHREAD05 ***
> [Inferior 1 (process 42000) exited normally]
> 
> [0]:
> http://www.google-melange.com/gci/task/view/google/gci2013/6383096106582016
> [1]: https://github.com/chirayudesai/rtems/tree/psxtmthread05
> [2]: https://github.com/chirayudesai/rtems/commit/890cebf084ca2a3815e3049a766276ddcdb0188a
> 
> P.S. This is my first post to this list, so excuse me for any mistakes.
> 
> Regards,
> Chirayu Desai



-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list