adasupp.c
来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 33 行
C
33 行
/* * $Id: adasupp.c,v 1.3 2001/01/24 14:17:27 joel Exp $ */#if HAVE_CONFIG_H#include "config.h"#endif #include <assert.h>#include <errno.h>#include <pthread.h>#include <rtems/system.h>#include <rtems/posix/pthread.h>/*PAGE * * _ada_pthread_minimum_stack_size * * This routine returns the minimum stack size so the GNAT RTS can * allocate enough stack for Ada tasks. */size_t _ada_pthread_minimum_stack_size( void ) { /* * Eventually this may need to include a per cpu family calculation * but for now, this will do. */ return PTHREAD_MINIMUM_STACK_SIZE * 2;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?