Rowley threads.js problem

anonymous wrote on Friday, February 01, 2008:

regarding \FreeRTOS\Demo\ARM7_LPC2138_Rowley\threads.js

I asked previously whether there was a problem with this JavaScript file, because it seems to display ‘phantom’ FreeRTOS threads in the CrossStudio Threads display panel. There was no help at the time. I have just made time to look at this issue myself, and think I have found the problem.

In the function add_list, the line

    for (i = 0; i < list.uxNumberOfItems + 1; i++)

should be, I think:

    for (i = 0; i < list.uxNumberOfItems; i++)

Glen

rtel wrote on Friday, February 01, 2008:

Thanks for taking the time to provide the information.

Regards.