RTEMS: cpukit/posix/src/pthreadcreate.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
pthreadcreate.c File Reference
Internal » RTEMS POSIX API

Function Starts a New Thread in The Calling Process. More...

`#include <pthread.h>`
`#include <errno.h>`
`#include <rtems/posix/priorityimpl.h>`
`#include <rtems/posix/pthreadimpl.h>`
`#include <rtems/posix/pthreadattrimpl.h>`
`#include <rtems/score/assert.h>`
`#include <rtems/score/threadimpl.h>`
`#include <rtems/score/apimutex.h>`
`#include <rtems/score/stackimpl.h>`
`#include <rtems/score/schedulerimpl.h>`
`#include <rtems/score/userextimpl.h>`
`#include <rtems/sysinit.h>`
`#include <string.h>`

## Functions
int | pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
| RTEMS_SYSINIT_ITEM (_POSIX_Threads_Manager_initialization, RTEMS_SYSINIT_POSIX_THREADS, RTEMS_SYSINIT_ORDER_MIDDLE)

## Detailed Description

Function Starts a New Thread in The Calling Process.