aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-03-29 20:20:45 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-03-29 20:20:45 +0000
commit4b069c8287c8e47cd98143a334aa91791026d2f4 (patch)
treec09fb457e6c4b8a34d75869821af3aa182901b66 /include/pthread.h
parent02211f0a937e3cc1a2408c42a653b6f7a0b71d87 (diff)
downloadsrc-4b069c8287c8e47cd98143a334aa91791026d2f4.tar.gz
src-4b069c8287c8e47cd98143a334aa91791026d2f4.zip
Clean some spaces vs tabs.
No, this file doesn't conform with KNF at all.
Notes
Notes: svn path=/head/; revision=280820
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/include/pthread.h b/include/pthread.h
index c6356dea32b3..ee66c65e2eb0 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -33,7 +33,7 @@
* $FreeBSD$
*/
#ifndef _PTHREAD_H_
-#define _PTHREAD_H_
+#define _PTHREAD_H_
/*
* Header files.
@@ -49,71 +49,71 @@
/*
* Run-time invariant values:
*/
-#define PTHREAD_DESTRUCTOR_ITERATIONS 4
-#define PTHREAD_KEYS_MAX 256
-#define PTHREAD_STACK_MIN __MINSIGSTKSZ
-#define PTHREAD_THREADS_MAX __ULONG_MAX
-#define PTHREAD_BARRIER_SERIAL_THREAD -1
+#define PTHREAD_DESTRUCTOR_ITERATIONS 4
+#define PTHREAD_KEYS_MAX 256
+#define PTHREAD_STACK_MIN __MINSIGSTKSZ
+#define PTHREAD_THREADS_MAX __ULONG_MAX
+#define PTHREAD_BARRIER_SERIAL_THREAD -1
/*
* Flags for threads and thread attributes.
*/
-#define PTHREAD_DETACHED 0x1
-#define PTHREAD_SCOPE_SYSTEM 0x2
-#define PTHREAD_INHERIT_SCHED 0x4
-#define PTHREAD_NOFLOAT 0x8
+#define PTHREAD_DETACHED 0x1
+#define PTHREAD_SCOPE_SYSTEM 0x2
+#define PTHREAD_INHERIT_SCHED 0x4
+#define PTHREAD_NOFLOAT 0x8
-#define PTHREAD_CREATE_DETACHED PTHREAD_DETACHED
-#define PTHREAD_CREATE_JOINABLE 0
-#define PTHREAD_SCOPE_PROCESS 0
-#define PTHREAD_EXPLICIT_SCHED 0
+#define PTHREAD_CREATE_DETACHED PTHREAD_DETACHED
+#define PTHREAD_CREATE_JOINABLE 0
+#define PTHREAD_SCOPE_PROCESS 0
+#define PTHREAD_EXPLICIT_SCHED 0
/*
* Flags for read/write lock attributes
*/
-#define PTHREAD_PROCESS_PRIVATE 0
-#define PTHREAD_PROCESS_SHARED 1
+#define PTHREAD_PROCESS_PRIVATE 0
+#define PTHREAD_PROCESS_SHARED 1
/*
* Flags for cancelling threads
*/
-#define PTHREAD_CANCEL_ENABLE 0
-#define PTHREAD_CANCEL_DISABLE 1
-#define PTHREAD_CANCEL_DEFERRED 0
-#define PTHREAD_CANCEL_ASYNCHRONOUS 2
-#define PTHREAD_CANCELED ((void *) 1)
+#define PTHREAD_CANCEL_ENABLE 0
+#define PTHREAD_CANCEL_DISABLE 1
+#define PTHREAD_CANCEL_DEFERRED 0
+#define PTHREAD_CANCEL_ASYNCHRONOUS 2
+#define PTHREAD_CANCELED ((void *) 1)
/*
* Flags for once initialization.
*/
-#define PTHREAD_NEEDS_INIT 0
-#define PTHREAD_DONE_INIT 1
+#define PTHREAD_NEEDS_INIT 0
+#define PTHREAD_DONE_INIT 1
/*
- * Static once initialization values.
+ * Static once initialization values.
*/
-#define PTHREAD_ONCE_INIT { PTHREAD_NEEDS_INIT, NULL }
+#define PTHREAD_ONCE_INIT { PTHREAD_NEEDS_INIT, NULL }
/*
- * Static initialization values.
+ * Static initialization values.
*/
-#define PTHREAD_MUTEX_INITIALIZER NULL
-#define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP ((pthread_mutex_t)1)
-#define PTHREAD_COND_INITIALIZER NULL
-#define PTHREAD_RWLOCK_INITIALIZER NULL
+#define PTHREAD_MUTEX_INITIALIZER NULL
+#define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP ((pthread_mutex_t)1)
+#define PTHREAD_COND_INITIALIZER NULL
+#define PTHREAD_RWLOCK_INITIALIZER NULL
/*
* Default attribute arguments (draft 4, deprecated).
*/
#ifndef PTHREAD_KERNEL
-#define pthread_condattr_default NULL
-#define pthread_mutexattr_default NULL
-#define pthread_attr_default NULL
+#define pthread_condattr_default NULL
+#define pthread_mutexattr_default NULL
+#define pthread_attr_default NULL
#endif
-#define PTHREAD_PRIO_NONE 0
-#define PTHREAD_PRIO_INHERIT 1
-#define PTHREAD_PRIO_PROTECT 2
+#define PTHREAD_PRIO_NONE 0
+#define PTHREAD_PRIO_INHERIT 1
+#define PTHREAD_PRIO_PROTECT 2
/*
* Mutex types (Single UNIX Specification, Version 2, 1997).
@@ -133,7 +133,7 @@ enum pthread_mutextype {
PTHREAD_MUTEX_TYPE_MAX
};
-#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_ERRORCHECK
+#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_ERRORCHECK
struct _pthread_cleanup_info {
__uintptr_t pthread_cleanup_pad[8];