Help with debugging a POSIX timing test.

Chirayu Desai chirayudesai1 at gmail.com
Sun Nov 24 17:28:45 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20131124/df5cc312/attachment.html>


More information about the devel mailing list