source: rtems/cpukit/include/rtems/posix/pthread.h

Last change on this file was 3b4795b4, checked in by Sebastian Huber <sebastian.huber@…>, on Feb 14, 2020 at 10:20:42 AM

config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE

The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and
CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_*
configuration options. These two options are probably unused, see also:

Removing them simplifies the configuration. If there is a real user need
which shows up after the removal, we can resurrect them on demand.

Using CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE would have required the
use of the undocumented CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME and
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE configuration options.

Update #3874.

  • Property mode set to 100644
File size: 1.8 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
39/**
40 *  For now, we are only allowing the user to specify the entry point
41 *  and stack size for POSIX initialization threads.
42 */
43typedef struct {
44  /** This is the entry point for a POSIX initialization thread. */
45  void       *(*thread_entry)(void *);
46  /** This is the stack size for a POSIX initialization thread. */
47  int       stack_size;
48} posix_initialization_threads_table;
49
50extern const size_t _POSIX_Threads_Minimum_stack_size;
51
52/**
53 * @brief Initialization table for the first user POSIX thread.
54 *
55 * This table is used by _POSIX_Threads_Initialize_user_thread() and
56 * initialized via <rtems/confdefs.h>.
57 */
58extern const posix_initialization_threads_table
59  _POSIX_Threads_User_thread_table;
60
61/**
62 * @brief System initialization handler to create the first user POSIX thread.
63 */
64extern void _POSIX_Threads_Initialize_user_thread( void );
65
66/**
67 * The following defines the information control block used to manage
68 * this class of objects.
69 */
70extern Thread_Information _POSIX_Threads_Information;
71
72/** @} */
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif
79/*  end of include file */
Note: See TracBrowser for help on using the repository browser.