pthread.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef PTHREAD_H
21 #define PTHREAD_H
22 
23 #include <time.h>
24 
28 #ifndef __WITH_AVRLIBC__
29 #define HAVE_MALLOC_H 1
30 #endif
35 #include "mutex.h"
36 #include "sched.h"
37 
38 #include "pthread_threading_attr.h"
39 #include "pthread_threading.h"
40 #include "pthread_mutex_attr.h"
41 #include "pthread_mutex.h"
42 #include "pthread_rwlock_attr.h"
43 #include "pthread_rwlock.h"
44 #include "pthread_spin.h"
45 #include "pthread_barrier.h"
46 #include "pthread_cleanup.h"
47 #include "pthread_once.h"
48 #include "pthread_scheduling.h"
49 #include "pthread_cancellation.h"
50 #include "pthread_cond.h"
51 #include "pthread_tls.h"
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* PTHREAD_H */
62 
Mutex for thread synchronization.
Synchronization barriers.
Thread cancellation features.
Cleanup primitives for pthread threads.
RIOT POSIX condition variable API.
Mutual exclusion.
Attributes for pthread mutexes.
Singletons features / single-shot execution.
Implementation of a fair, POSIX conforming reader/writer lock.
Implementation of a fair, POSIX conforming reader/writer lock (attribute set).
Scheduling parameters and policies of pthreads.
Spin locks.
Thread creation features.
Thread creation features (attributes).
RIOT POSIX thread local storage.
Scheduler API definition.