tests: add some pthread and std::thread unit tests
authorTuan Ta <qtt2@cornell.edu>
Tue, 13 Feb 2018 14:15:40 +0000 (09:15 -0500)
committerTuan Ta <qtt2@cornell.edu>
Tue, 12 Jun 2018 21:06:07 +0000 (21:06 +0000)
commit8008ce25e9ff7e82e4bd0b7da041a31dc841057b
treec5653e80b7ff723bba7cc679c9257c8be8a3ccb3
parent8de76e0f14f70da39dc060b6741d54d1432ff9a8
tests: add some pthread and std::thread unit tests

This patch adds some pthread and C++11 std::thread unit tests.

Change-Id: I9706b542e5fa927a87c6e8ae2a6330fab7bb5d72
Reviewed-on: https://gem5-review.googlesource.com/8221
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
tests/test-progs/pthread/Makefile.riscv [new file with mode: 0644]
tests/test-progs/pthread/Makefile.x86 [new file with mode: 0644]
tests/test-progs/pthread/src/test_atomic.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_pthread_cond.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_pthread_create_para.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_pthread_create_seq.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_pthread_mutex.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_std_condition_variable.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_std_mutex.cpp [new file with mode: 0644]
tests/test-progs/pthread/src/test_std_thread.cpp [new file with mode: 0644]