OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [posix/] [src/] [mutexdefaultattributes.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
2 208 chris
 *  $Id: mutexdefaultattributes.c,v 1.2 2001-09-27 11:59:17 chris Exp $
3 158 chris
 */
4
 
5
#include <assert.h>
6
#include <errno.h>
7
#include <pthread.h>
8
 
9
#include <rtems/system.h>
10
#include <rtems/score/coremutex.h>
11
#include <rtems/score/watchdog.h>
12
#if defined(RTEMS_MULTIPROCESSING)
13
#include <rtems/score/mpci.h>
14
#endif
15
#include <rtems/posix/mutex.h>
16
#include <rtems/posix/priority.h>
17
#include <rtems/posix/time.h>
18
 
19
/*PAGE
20
 *
21
 *  The default mutex attributes structure.
22
 */
23
 
24
const pthread_mutexattr_t _POSIX_Mutex_Default_attributes = {
25
  TRUE,                                    /* is_initialized */
26
  PTHREAD_PROCESS_PRIVATE,                 /* process_shared */
27
  POSIX_SCHEDULER_MAXIMUM_PRIORITY,        /* prio_ceiling   */
28
  PTHREAD_PRIO_NONE,                       /* protocol       */
29
  FALSE                                    /* recursive      */
30
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.