ae2f_docs
Thrd.h File Reference
#include "./Thrd.core.h"
#include "./Thrd.auto.h"

Go to the source code of this file.

Typedefs

typedef _ae2f_SysThrdRes_t ae2f_SysThrdRes_t
 Return type for thread.
typedef _ae2f_SysThrdPrm_t ae2f_SysThrdPrm_t
 Parameters for thread.
typedef _ae2f_SysThrdID_t ae2f_SysThrdID_t
 Thread ID.
typedef ae2f_SysThrdRes_t ae2f_SysThrdFn_t(ae2f_SysThrdPrm_t)
 Thread starting function type.
typedef enum ae2f_eSysThrd_t ae2f_eSysThrd_t
 enum values related to thread.
't follows C11 thread standard.

Enumerations

enum  ae2f_eSysThrd_t {
  ae2f_eSysThrdSuccess , ae2f_eSysThrdMemOut , ae2f_eSysThrdTmOut , ae2f_eSysThrdBusy ,
  ae2f_eSysThrdErr
}
 enum values related to thread.
't follows C11 thread standard. More...

Functions

 ae2f_structdef (struct, ae2f_SysThrd)
 A thread.

Detailed Description

Detach is not implemented since I do not know a way to do this without 3rd object.

Definition in file Thrd.h.

Typedef Documentation

◆ ae2f_SysThrdFn_t

typedef ae2f_SysThrdRes_t ae2f_SysThrdFn_t(ae2f_SysThrdPrm_t)

Thread starting function type.

Definition at line 25 of file Thrd.h.

◆ ae2f_SysThrdID_t

typedef _ae2f_SysThrdID_t ae2f_SysThrdID_t

Thread ID.

Definition at line 22 of file Thrd.h.

◆ ae2f_SysThrdPrm_t

typedef _ae2f_SysThrdPrm_t ae2f_SysThrdPrm_t

Parameters for thread.

Definition at line 18 of file Thrd.h.

◆ ae2f_SysThrdRes_t

typedef _ae2f_SysThrdRes_t ae2f_SysThrdRes_t

Return type for thread.

Definition at line 14 of file Thrd.h.

Enumeration Type Documentation

◆ ae2f_eSysThrd_t

enum values related to thread.
't follows C11 thread standard.

Enumerator
ae2f_eSysThrdSuccess 

Good

ae2f_eSysThrdMemOut 

Out of host memory

ae2f_eSysThrdTmOut 

Timeout

Definition at line 33 of file Thrd.h.

Function Documentation

◆ ae2f_structdef()

ae2f_structdef ( struct ,
ae2f_SysThrd  )

A thread.

Warning
This structure's size could vary for implementation.

thread id

stack ptr (linux only)

stack size (linux only)

Definition at line 52 of file Thrd.h.