support for read/write-lock and read/write-trylock

Change-Id: I609071c0f6234d0d413c8b312d8a8379abf6846e
Refs: #1323
This commit is contained in:
Tomoki Shirasawa
2019-07-29 14:11:13 +09:00
committed by Masamichi Takagi
parent 8efced7bf7
commit 258156b57e
9 changed files with 570 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Script started on Wed Jul 24 10:55:01 2019
bash-4.2$ make test
gcc -g -Wall -o rwlock rwlock.c -lpthread
sh ./rwlock.sh
mcstop+release.sh ... done
mcreboot.sh -c 2-7,9-15 -m 1G@0 ... done
rwlock test 1 PASS
rwlock test 2 PASS
rwlock test 3 PASS
rwlock test 4 PASS
bash-4.2$ exit
exit
Script done on Wed Jul 24 10:55:20 2019