memory_range_lock: Enable interrupt when trylock fails

Also use read-write-lock

Change-Id: I03150b7208325ec1fe422dcd5f931e4e41c8e40e
Refs: #452
This commit is contained in:
Tomoki Shirasawa
2019-07-29 14:12:50 +09:00
committed by Masamichi Takagi
parent 258156b57e
commit 0d3ef65092
13 changed files with 444 additions and 101 deletions

13
test/issues/452/Makefile Normal file
View File

@@ -0,0 +1,13 @@
CC = gcc
TARGET = C452T01
all:: $(TARGET)
C452T01: C452T01.c
$(CC) -g -Wall -o $@ $^
test:: all
sh ./C452.sh
clean::
rm -f $(TARGET) *.o