2014-04-16 22:45:42 +02:00
|
|
|
/**
|
|
|
|
* @ingroup pthread
|
2014-05-18 17:03:06 +02:00
|
|
|
* @{
|
|
|
|
* @file
|
|
|
|
* @brief Scheduling parameters and policies of pthreads.
|
|
|
|
* @note None of these functions are implemented, yet.
|
|
|
|
* @note Do not include this header file directly, but pthread.h.
|
2014-04-16 22:45:42 +02:00
|
|
|
*/
|
|
|
|
|
2014-05-18 17:03:06 +02:00
|
|
|
#ifndef __SYS__POSIX__PTHREAD_SCHEDULING__H
|
|
|
|
#define __SYS__POSIX__PTHREAD_SCHEDULING__H
|
|
|
|
|
2014-04-16 22:45:42 +02:00
|
|
|
/**
|
|
|
|
* @brief Unimplemented.
|
|
|
|
* @note Due to the native of RIOT it is unlikely that this function will ever be implemented.
|
|
|
|
* @param[in] target_thread Unused
|
|
|
|
* @param[in] policy Unused
|
|
|
|
* @param[in] param Unused
|
|
|
|
* @returns The function is unimplemented. Using it will cause a link time error.
|
|
|
|
*/
|
|
|
|
int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Unimplemented.
|
|
|
|
* @note Due to the native of RIOT it is unlikely that this function will ever be implemented.
|
|
|
|
* @param[in] target_thread Unused
|
|
|
|
* @param[in,out] policy Unused
|
|
|
|
* @param[out] param Unused
|
|
|
|
* @returns The function is unimplemented. Using it will cause a link time error.
|
|
|
|
*/
|
|
|
|
int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Unimplemented.
|
|
|
|
* @note Due to the native of RIOT it is unlikely that this function will ever be implemented.
|
|
|
|
* @param[in] target_thread Unused
|
|
|
|
* @param[in] prio Unused
|
|
|
|
* @returns The function is unimplemented. Using it will cause a link time error.
|
|
|
|
*/
|
|
|
|
int pthread_setschedprio(pthread_t target_thread, int prio);
|
2014-05-18 17:03:06 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|