summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-21 13:00:48 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-21 13:00:48 +0000
commita8bbaacbc4bad239cb6ec6f791786e82b0a02760 (patch)
treedb6d04317096103fe4cc7a425a1ebcc70fb4c026 /tests
parente293d6482f82b5a8d779698e349ac08b93cb789f (diff)
downloadlibcg-a8bbaacbc4bad239cb6ec6f791786e82b0a02760.tar.gz
libcg-a8bbaacbc4bad239cb6ec6f791786e82b0a02760.tar.xz
libcg-a8bbaacbc4bad239cb6ec6f791786e82b0a02760.zip
libcgroup: Ensure global data is protected
Add rwlock to ensure access to cg_mount_table is serialized. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Vivek Goyal <vgoyal@redhat.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@110 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1c57de7..e668032 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,5 +1,5 @@
LDFLAGS = -L ..
-LIBS = -lcgroup
+LIBS = -lcgroup -lpthread
INC = -I ..
CXXFLAGS = -g -O2 -Wall -DDEBUG $(INC)