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