[ECOS] problem with multi_lo_select.c

sandeep shimple0@yahoo.com
Tue Nov 23 14:52:00 GMT 2004

following problem is even possible with non-smp configuration (patches for it 
have been sent two times in past years in the bundle of smp patches).

in dummy thread, s_s1 is static variable and access to it is unprotected. this 
can lead to more than 1 dummy threads enter "if (s_s1 < 0) { ...." and some part 
of test not behaving as expected.

in the wake of recent weeks bugs with ecos/ecos-tests, it would be fruitful to 
also examine cases for unprotected static/global variable accesses of similar 
nature in both, from no-smp and smp point of views.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list