source: rtems/testsuites/psxtests/psxfatal01/init.c @ 3b4795b4

5
Last change on this file since 3b4795b4 was 3b4795b4, checked in by Sebastian Huber <sebastian.huber@…>, on 02/14/20 at 10:20:42

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: 595 bytes
Line 
1#ifdef HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5#include "../psxfatal_support/psxfatal.h"
6
7/*
8 * Classic API Init task create failure
9 */
10
11#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT NULL
12
13#define FATAL_ERROR_TEST_NAME            "1"
14#define FATAL_ERROR_DESCRIPTION \
15        "POSIX API Init thread create failure - NULL entry"
16#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
17#define FATAL_ERROR_EXPECTED_ERROR \
18  INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED
19
20static void force_error(void)
21{
22  /* we will not run this far */
23}
24
25#include "../psxfatal_support/psxfatalimpl.h"
Note: See TracBrowser for help on using the repository browser.