This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with multi_lo_select.c


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.

sandeep


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]