source: rtems/cpukit/include/rtems/posix/pthread.h @ 6b0a729b

5
Last change on this file since 6b0a729b was 21275b58, checked in by Sebastian Huber <sebastian.huber@…>, on 11/22/18 at 18:14:51

score: Static Objects_Information initialization

Statically allocate the objects information together with the initial
set of objects either via <rtems/confdefs.h>. Provide default object
informations with zero objects via librtemscpu.a. This greatly
simplifies the workspace size estimate. RTEMS applications which do not
use the unlimited objects option are easier to debug since all objects
reside now in statically allocated objects of the right types.

Close #3621.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file
3 *
4 * @brief POSIX Threads Private Support
5 *
6 * This include file contains all the private support information for
7 * POSIX threads.
8 */
9
10/*
11 *  COPYRIGHT (c) 1989-2011.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef _RTEMS_POSIX_PTHREAD_H
20#define _RTEMS_POSIX_PTHREAD_H
21
22#include <rtems/posix/threadsup.h>
23#include <rtems/score/thread.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/**
30 * @defgroup POSIX_PTHREAD POSIX Threads Support
31 *
32 * @ingroup POSIXAPI
33 *
34 * @brief Private Support Information for POSIX Threads
35 *
36 */
37/**@{**/
38
39extern const size_t _Configuration_POSIX_Minimum_stack_size;
40
41/**
42 * @brief POSIX threads initialize user threads body.
43 *
44 * This routine creates and starts all configured user
45 * initialization threads.
46 */
47extern void _POSIX_Threads_Initialize_user_threads_body(void);
48
49/**
50 * The following defines the information control block used to manage
51 * this class of objects.
52 */
53extern Thread_Information _POSIX_Threads_Information;
54
55/** @} */
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
62/*  end of include file */
Note: See TracBrowser for help on using the repository browser.