linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

open_posix: modified ltp,rwlock need init #1066

Open extinguish opened 1 year ago

extinguish commented 1 year ago

open_posix: the rwlock need to init, to add init procedure to the rwlock before use

Signed-off-by: anjiahao anjiahao@xiaomi.com

metan-ucw commented 1 year ago

Again the description should be rewritten, among other things it has to explain why the change is needed.

extinguish commented 1 year ago

@metan-ucw please help to check if the descibe info meet requirements, if not, I will modify them immediately. thank you

metan-ucw commented 9 months ago

Looking at the test closely the point of the test is to figure out what happens when we attempt to lock an uninitialized lock and the end result is not well defined, hence it's in the speculative directory. What exactly does happen on NuttX when this test is executed?