2
3
4
5
6
7
8
9
10
14#include <gimbal/core/gimbal_typedefs.h>
17#define GBL_SELF_TYPE GblThd
25 uint32_t logStackDepth;
55 if(!pThread) pThread = GblThd_current();
56 return pThread->pStackFrameTop;
60 if(!pThread) pThread = GblThd_current();
62 pFrame->pPrevFrame = pThread->pStackFrameTop;
64 GblThd_setCallRecord(pThread,
GBL_NULL);
67 pThread->pStackFrameTop = pFrame;
68 return GBL_RESULT_SUCCESS;
72 if(!pThread) pThread = GblThd_current();
75 pThread->pStackFrameTop = pThread->pStackFrameTop? pThread->pStackFrameTop->pPrevFrame :
GBL_NULL;
77 return GBL_RESULT_SUCCESS;
82 pThread = GblThd_current();
84 return &pThread->callRecord;
#define GBL_RESULT_ERROR(value)
uint8_t GblBool
Basic boolean type, standardized to sizeof(char)
Captures a result, its stringified message, and a source context.
Represents a single function's stack frame, from GBL_CTX_BEGIN() to GBL_CTX_END()
Deprecated legacy structure for thread-local storage and context.