forked from Imagelibrary/rtems
posix/src/condattr*etpshared.c: Clean up and improve comments
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @file
|
||||
* @file
|
||||
*
|
||||
* @brief Get the Process-Shared Condition Variable Attributes
|
||||
* @ingroup POSIXAPI
|
||||
* @brief Get the Process-Shared Condition Variable Attributes
|
||||
* @ingroup POSIXAPI
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -22,14 +22,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/**
|
||||
* 11.4.1 Condition Variable Initialization Attributes,
|
||||
* P1003.1c/Draft 10, p. 96
|
||||
*/
|
||||
int pthread_condattr_getpshared(
|
||||
const pthread_condattr_t *attr,
|
||||
int *pshared
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief Initialize Condition Variable Attributes
|
||||
* @brief Set the Process-Shared Condition Variable Attributes
|
||||
* @ingroup POSIXAPI
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2007.
|
||||
* COPYRIGHT (c) 1989-2007, 2016.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -21,16 +21,6 @@
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/posix/condimpl.h>
|
||||
#include <rtems/posix/muteximpl.h>
|
||||
|
||||
/*
|
||||
* 11.4.1 Condition Variable Initialization Attributes,
|
||||
* P1003.1c/Draft 10, p. 96
|
||||
*/
|
||||
|
||||
int pthread_condattr_setpshared(
|
||||
pthread_condattr_t *attr,
|
||||
int pshared
|
||||
|
||||
Reference in New Issue
Block a user