add LockPtr test with a Mutex and Thread class. Now it is possible to do some simple cross platform multithreading withhin Loki

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@491 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-17 11:18:38 +00:00
parent 00bb8d6ba8
commit 8840afc7dd
5 changed files with 592 additions and 0 deletions

11
test/LockingPtr/Makefile Executable file
View file

@ -0,0 +1,11 @@
BIN = main
CC = gcc
CXXFLAGS = -Wall -O2
CPPFLAGS = -I../../include -DNDEBUG
LDFLAGS = -L../../lib
LDLIBS = -lloki
.PHONY: build clean
build: $(BIN)
clean:
rm -f $(BIN) $(BIN).exe $(BIN).o