2014-11-09 15:06:25 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
2014-04-16 22:45:42 +02:00
|
|
|
/**
|
2014-05-18 17:03:06 +02:00
|
|
|
* @defgroup pthread POSIX threads
|
|
|
|
* POSIX conforming multi-threading features.
|
|
|
|
* @ingroup posix
|
|
|
|
* @{
|
|
|
|
* @file
|
|
|
|
* @brief POSIX conforming multi-threading features.
|
|
|
|
* @details Please see the transcluded `pthread_*.h` files for further information.
|
|
|
|
* @see [The Open Group Base Specifications Issue 7: pthread.h - threads](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html)
|
2014-04-16 22:45:42 +02:00
|
|
|
*/
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#ifndef PTHREAD_H
|
|
|
|
#define PTHREAD_H
|
2014-05-18 17:03:06 +02:00
|
|
|
|
2014-02-13 14:18:30 +01:00
|
|
|
#include <time.h>
|
|
|
|
|
2017-03-02 18:12:40 +01:00
|
|
|
/**
|
|
|
|
* @cond INTERNAL
|
|
|
|
*/
|
2016-11-07 19:49:09 +01:00
|
|
|
#ifndef __WITH_AVRLIBC__
|
|
|
|
#define HAVE_MALLOC_H 1
|
|
|
|
#endif
|
2017-03-02 18:12:40 +01:00
|
|
|
/**
|
|
|
|
* @endcond
|
|
|
|
*/
|
2016-11-07 19:49:09 +01:00
|
|
|
|
2014-02-13 14:18:30 +01:00
|
|
|
#include "mutex.h"
|
|
|
|
#include "sched.h"
|
|
|
|
|
2014-04-16 22:45:42 +02:00
|
|
|
#include "pthread_threading_attr.h"
|
|
|
|
#include "pthread_threading.h"
|
|
|
|
#include "pthread_mutex_attr.h"
|
2014-02-13 14:18:30 +01:00
|
|
|
#include "pthread_mutex.h"
|
2014-04-17 02:10:55 +02:00
|
|
|
#include "pthread_rwlock_attr.h"
|
2014-02-13 14:18:30 +01:00
|
|
|
#include "pthread_rwlock.h"
|
|
|
|
#include "pthread_spin.h"
|
|
|
|
#include "pthread_barrier.h"
|
2014-04-04 17:56:47 +02:00
|
|
|
#include "pthread_cleanup.h"
|
2014-04-16 22:45:42 +02:00
|
|
|
#include "pthread_once.h"
|
|
|
|
#include "pthread_scheduling.h"
|
|
|
|
#include "pthread_cancellation.h"
|
2014-05-07 07:54:54 +02:00
|
|
|
#include "pthread_cond.h"
|
2014-05-21 17:12:46 +02:00
|
|
|
#include "pthread_tls.h"
|
2014-04-04 17:56:47 +02:00
|
|
|
|
2014-10-10 11:51:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* PTHREAD_H */
|
2014-05-18 17:03:06 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|