Hi everyone,

I'm currently trying to get all the ODP validation tests running on our MPPA 
platform and ran across an issue:
It appears CUnit (2.1-3) is *not* thread safe !

It isn't a very big issue but it creates unexpected behaviour (and warnings in 
our simulators) in the odp_shm test for example.
In this test, each thread runs several CU_ASSERT which internally trigger non 
atomic increment in CUnit...
I added a tiny lock within our build of CUnit that fixes the issue but it is 
something you should definitly have a look at.


On a mostly unrelated note, several tests (odp_schedule, odp_shm, 
odp_synchronizers), spawn odp_cpu_count() threads.
This means in the end that we have odp_cpu_count() + 1 thread running (couting 
the main). Is this something wanted?

Nicolas
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to