From 242b05c89bc24db8d81090912a9e8bb6fed09c81 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sat, 21 Jun 2003 20:32:55 +0000 Subject: Add libhoard - fast, scalable and memory-efficient allocator for multiprocessors. Approved by: fjoe (mentor) (implicit) --- devel/libhoard/files/testos.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devel/libhoard/files/testos.c (limited to 'devel/libhoard/files/testos.c') diff --git a/devel/libhoard/files/testos.c b/devel/libhoard/files/testos.c new file mode 100644 index 000000000000..c4413db9c9af --- /dev/null +++ b/devel/libhoard/files/testos.c @@ -0,0 +1,16 @@ +#include +#include +#include + +int +main(int argc, char *argv[]) +{ + static int level; + + level = pthread_getconcurrency(); + (void)pthread_setconcurrency(level++); + + printf("LIBC_R TEST PASSED: All ok\n"); + + exit(0); +} -- cgit v1.2.3