summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/test/hello_d.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2010-11-13 22:22:18 +0000
committeremaste <emaste@FreeBSD.org>2010-11-13 22:22:18 +0000
commit62c8289fa15457bfe695213262fc7f1a74998b1a (patch)
tree7d9c8ef935652d99b24bfb3a071cd78e9bb8d01f /lib/libc_r/test/hello_d.c
parent5ca0de0e3fa55d328c60f0ca6f6c0ae18108d0cb (diff)
downloadFreeBSD-src-62c8289fa15457bfe695213262fc7f1a74998b1a.zip
FreeBSD-src-62c8289fa15457bfe695213262fc7f1a74998b1a.tar.gz
Remove libc_r threading library. It has been disconnected from the build
for four years (since r162846). Submitted by: Alexander Best arundel@
Diffstat (limited to 'lib/libc_r/test/hello_d.c')
-rw-r--r--lib/libc_r/test/hello_d.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/libc_r/test/hello_d.c b/lib/libc_r/test/hello_d.c
deleted file mode 100644
index 6d77526..0000000
--- a/lib/libc_r/test/hello_d.c
+++ /dev/null
@@ -1,38 +0,0 @@
-/****************************************************************************
- *
- * Simple diff mode test.
- *
- * $FreeBSD$
- *
- ****************************************************************************/
-
-#include <stdio.h>
-#include <string.h>
-#include <pthread.h>
-
-void *
-entry(void * a_arg)
-{
- fprintf(stderr, "Hello world\n");
-
- return NULL;
-}
-
-int
-main()
-{
- pthread_t thread;
- int error;
-
- error = pthread_create(&thread, NULL, entry, NULL);
- if (error)
- fprintf(stderr, "Error in pthread_create(): %s\n",
- strerror(error));
-
- error = pthread_join(thread, NULL);
- if (error)
- fprintf(stderr, "Error in pthread_join(): %s\n",
- strerror(error));
-
- return 0;
-}
OpenPOWER on IntegriCloud