From 756a64304b61a94b9b57ae88c4af5654152f5b8e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 20 May 2012 13:37:08 +0000 Subject: Remove libpthread, now in eglibc --- libpthread/tests/test-12.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 libpthread/tests/test-12.c (limited to 'libpthread/tests/test-12.c') diff --git a/libpthread/tests/test-12.c b/libpthread/tests/test-12.c deleted file mode 100644 index 2b784908..00000000 --- a/libpthread/tests/test-12.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Test concurrency level. */ - -#define _GNU_SOURCE - -#include -#include -#include -#include - -int -main (int argc, char **argv) -{ - int i; - int err; - - i = pthread_getconcurrency (); - assert (i == 0); - - err = pthread_setconcurrency (-1); - assert (err == EINVAL); - - err = pthread_setconcurrency (4); - assert (err == 0); - - i = pthread_getconcurrency (); - assert (i == 4); - - return 0; -} -- cgit v1.2.3