support for read/write-lock and read/write-trylock
Change-Id: I609071c0f6234d0d413c8b312d8a8379abf6846e Refs: #1323
This commit is contained in:
committed by
Masamichi Takagi
parent
8efced7bf7
commit
258156b57e
13
test/issues/1323/Makefile
Normal file
13
test/issues/1323/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
CC = gcc
|
||||
TARGET = rwlock
|
||||
|
||||
all:: $(TARGET)
|
||||
|
||||
rwlock: rwlock.c
|
||||
$(CC) -g -Wall -o $@ $^ -lpthread
|
||||
|
||||
test:: all
|
||||
sh ./rwlock.sh
|
||||
|
||||
clean::
|
||||
rm -f $(TARGET) *.o
|
||||
Reference in New Issue
Block a user