mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 03:48:00 +08:00
score: Rename _POSIX_Absolute_timeout_to_ticks()
Rename _POSIX_Absolute_timeout_to_ticks() to _TOD_Absolute_timeout_to_ticks() and move it to the score directory. Delete empty <rtems/posix/time.h>.
This commit is contained in:
@@ -47,7 +47,6 @@ include_rtems_posix_HEADERS += include/rtems/posix/ptimer.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/semaphore.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/semaphoreimpl.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/threadsup.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/time.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/timer.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/timerimpl.h
|
||||
include_rtems_posix_HEADERS += include/rtems/posix/barrier.h
|
||||
@@ -195,7 +194,7 @@ libposix_a_SOURCES += src/pspin.c src/pspindestroy.c src/pspininit.c \
|
||||
src/pspinunlock.c
|
||||
|
||||
## TIME_C_FILES
|
||||
libposix_a_SOURCES += src/adjtime.c src/posixtimespecabsolutetimeout.c \
|
||||
libposix_a_SOURCES += src/adjtime.c \
|
||||
src/clockgetcpuclockid.c src/clockgetenableattr.c src/clocksetenableattr.c
|
||||
|
||||
## TIMER_C_FILES
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief POSIX Time Types
|
||||
*
|
||||
* This defines the interface to implementation helper routines related
|
||||
* to POSIX time types.
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2011.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#ifndef _RTEMS_POSIX_TIME_H
|
||||
#define _RTEMS_POSIX_TIME_H
|
||||
|
||||
#include <rtems/score/timespec.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
/**
|
||||
* @defgroup POSIX_TIMETYPES POSIX Time Types
|
||||
*
|
||||
* @ingroup POSIXAPI
|
||||
*
|
||||
*/
|
||||
/**@{**/
|
||||
|
||||
/**
|
||||
* @brief Absolute timeout conversion results.
|
||||
*
|
||||
* This enumeration defines the possible results of converting
|
||||
* an absolute time used for timeouts to POSIX blocking calls to
|
||||
* a number of ticks.
|
||||
*/
|
||||
typedef enum {
|
||||
/** The timeout is invalid. */
|
||||
POSIX_ABSOLUTE_TIMEOUT_INVALID,
|
||||
/** The timeout represents a time that is in the past. */
|
||||
POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST,
|
||||
/** The timeout represents a time that is equal to the current time. */
|
||||
POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
|
||||
/** The timeout represents a time that is in the future. */
|
||||
POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE,
|
||||
} POSIX_Absolute_timeout_conversion_results_t;
|
||||
|
||||
/**
|
||||
* @brief Convert absolute timeout to ticks.
|
||||
*
|
||||
* This method takes an absolute time being used as a timeout
|
||||
* to a blocking directive, validates it and returns the number
|
||||
* of corresponding clock ticks for use by the SuperCore.
|
||||
*
|
||||
* @param[in] abstime is a pointer to the timeout
|
||||
* @param[out] ticks_out will contain the number of ticks
|
||||
*
|
||||
* @return This method returns the number of ticks in @a ticks_out
|
||||
* and a status value indicating whether the absolute time
|
||||
* is valid, in the past, equal to the current time or in
|
||||
* the future as it should be.
|
||||
*/
|
||||
POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks(
|
||||
const struct timespec *abstime,
|
||||
Watchdog_Interval *ticks_out
|
||||
);
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif
|
||||
@@ -125,10 +125,6 @@ $(PROJECT_INCLUDE)/rtems/posix/threadsup.h: include/rtems/posix/threadsup.h $(PR
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/posix/time.h: include/rtems/posix/time.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/time.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/time.h
|
||||
|
||||
$(PROJECT_INCLUDE)/rtems/posix/timer.h: include/rtems/posix/timer.h $(PROJECT_INCLUDE)/rtems/posix/$(dirstamp)
|
||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/posix/timer.h
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.h
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 20.1.3 Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -22,9 +22,8 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/todimpl.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
@@ -39,7 +38,7 @@ int pthread_cond_timedwait(
|
||||
{
|
||||
Watchdog_Interval ticks;
|
||||
bool already_timedout;
|
||||
POSIX_Absolute_timeout_conversion_results_t status;
|
||||
TOD_Absolute_timeout_conversion_results status;
|
||||
|
||||
/*
|
||||
* POSIX requires that blocking calls with timeouts that take
|
||||
@@ -51,12 +50,12 @@ int pthread_cond_timedwait(
|
||||
* status into the appropriate error.
|
||||
*/
|
||||
already_timedout = false;
|
||||
status = _POSIX_Absolute_timeout_to_ticks(abstime, &ticks);
|
||||
if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )
|
||||
status = _TOD_Absolute_timeout_to_ticks(abstime, &ticks);
|
||||
if ( status == TOD_ABSOLUTE_TIMEOUT_INVALID )
|
||||
return EINVAL;
|
||||
|
||||
if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||
|
||||
status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )
|
||||
if ( status == TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST ||
|
||||
status == TOD_ABSOLUTE_TIMEOUT_IS_NOW )
|
||||
already_timedout = true;
|
||||
|
||||
return _POSIX_Condition_variables_Wait_support(
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/statesimpl.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
int _POSIX_Condition_variables_Wait_support(
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* _POSIX_Message_queue_Manager_initialization
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
*
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* _POSIX_Message_queue_Create_support
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#if defined(RTEMS_DEBUG)
|
||||
#include <rtems/bspIo.h>
|
||||
#endif
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 15.2.8 Get Message Queue Attributes, P1003.1b-1993, p. 283
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* _POSIX_Message_queue_Notify_handler
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <rtems/score/todimpl.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
#define MQ_OPEN_FAILED ((mqd_t) -1)
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
ssize_t mq_receive(
|
||||
mqd_t mqdes,
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* _POSIX_Message_queue_Receive_support
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 15.2.4 Send a Message to a Message Queue, P1003.1b-1993, p. 277
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
int mq_setattr(
|
||||
mqd_t mqdes,
|
||||
|
||||
@@ -41,10 +41,9 @@
|
||||
#include <mqueue.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/todimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 15.2.5 Receive a Message From a Message Queue, P1003.1b-1993, p. 279
|
||||
@@ -62,7 +61,7 @@ ssize_t mq_timedreceive(
|
||||
{
|
||||
Watchdog_Interval ticks;
|
||||
bool do_wait = true;
|
||||
POSIX_Absolute_timeout_conversion_results_t status;
|
||||
TOD_Absolute_timeout_conversion_results status;
|
||||
|
||||
/*
|
||||
* POSIX requires that blocking calls with timeouts that take
|
||||
@@ -73,12 +72,12 @@ ssize_t mq_timedreceive(
|
||||
* then we do a polling operation and convert the UNSATISFIED
|
||||
* status into the appropriate error.
|
||||
*
|
||||
* If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
|
||||
* POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
|
||||
* If the status is TOD_ABSOLUTE_TIMEOUT_INVALID,
|
||||
* TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST, or TOD_ABSOLUTE_TIMEOUT_IS_NOW,
|
||||
* then we should not wait.
|
||||
*/
|
||||
status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );
|
||||
if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )
|
||||
status = _TOD_Absolute_timeout_to_ticks( abstime, &ticks );
|
||||
if ( status != TOD_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )
|
||||
do_wait = false;
|
||||
|
||||
return _POSIX_Message_queue_Receive_support(
|
||||
|
||||
@@ -27,10 +27,9 @@
|
||||
#include <mqueue.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/todimpl.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
int mq_timedsend(
|
||||
mqd_t mqdes,
|
||||
@@ -42,7 +41,7 @@ int mq_timedsend(
|
||||
{
|
||||
Watchdog_Interval ticks;
|
||||
bool do_wait = true;
|
||||
POSIX_Absolute_timeout_conversion_results_t status;
|
||||
TOD_Absolute_timeout_conversion_results status;
|
||||
|
||||
/*
|
||||
* POSIX requires that blocking calls with timeouts that take
|
||||
@@ -53,12 +52,12 @@ int mq_timedsend(
|
||||
* then we do a polling operation and convert the UNSATISFIED
|
||||
* status into the appropriate error.
|
||||
*
|
||||
* If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
|
||||
* POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
|
||||
* If the status is TOD_ABSOLUTE_TIMEOUT_INVALID,
|
||||
* TOD_ABSOLUTE_TIMEOUT_IS_IN_PAST, or TOD_ABSOLUTE_TIMEOUT_IS_NOW,
|
||||
* then we should not wait.
|
||||
*/
|
||||
status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );
|
||||
if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )
|
||||
status = _TOD_Absolute_timeout_to_ticks( abstime, &ticks );
|
||||
if ( status != TOD_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )
|
||||
do_wait = false;
|
||||
|
||||
return _POSIX_Message_queue_Send_support(
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <rtems/score/wkspace.h>
|
||||
#include <rtems/seterr.h>
|
||||
#include <rtems/posix/mqueueimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 15.2.2 Remove a Message Queue, P1003.1b-1993, p. 276
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* _POSIX_Mutex_Manager_initialization
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/**
|
||||
* 11.3.1 Mutex Initialization Attributes, P1003.1c/Draft 10, p. 81
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 11.3.1 Mutex Initialization Attributes, P1003.1c/Draft 10, p. 81
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
#if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES)
|
||||
int pthread_mutexattr_gettype(
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/**
|
||||
* 11.3.1 Mutex Initialization Attributes, P1003.1c/Draft 10, p. 81
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 13.6.1 Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 11.3.1 Mutex Initialization Attributes, P1003.1c/Draft 10, p. 81
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
#if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES)
|
||||
int pthread_mutexattr_settype(
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 11.3.2 Initializing and Destroying a Mutex, P1003.1c/Draft 10, p. 87
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
#include <rtems/posix/priorityimpl.h>
|
||||
#include <rtems/posix/time.h>
|
||||
|
||||
/*
|
||||
* 13.6.2 Change the Priority Ceiling of a Mutex, P1003.1c/Draft 10, p. 131
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user