OROCHI
 
Loading...
Searching...
No Matches
GxSysFile::GxAsyncReadThread Class Reference

非同期読み込みスレッドクラス More...

#include <GxSysFile.h>

Inheritance diagram for GxSysFile::GxAsyncReadThread:
Collaboration diagram for GxSysFile::GxAsyncReadThread:

Static Public Attributes

定義
static constexpr s32 WAIT_INFINITY = -1
 イベント待ち無限設定値
 
- Static Public Attributes inherited from GxThread
static constexpr u32 THREAD_MAX = GxMath::VALUE_32
 スレッドの最大数
 
static constexpr u32 INVALID_INDEX = 0xFFFFFFFF
 無効スレッドインデックス
 
static constexpr u32 MAIN_THREAD_INDEX = 0
 メインスレッドインデックス
 

操作

void threadMain (void *pArgument) override
 スレッドメイン
 
GX_FORCE_INLINE b32 waitStartEvent (s32 milliSecond=WAIT_INFINITY)
 開始イベント待ち
 
GX_FORCE_INLINE b32 setStartEvent (void)
 開始イベント開始
 
GX_FORCE_INLINE b32 waitAsyncIOEvent (s32 milliSecond=WAIT_INFINITY)
 非同期I/Oイベント待ち
 
GX_FORCE_INLINE b32 setAsyncIOEvent (void)
 非同期I/Oイベント開始
 

Additional Inherited Members

- Public Types inherited from GxThread
enum class  PRIORITY {
  LOW = -2 , BELOW , NORMAL , ABOVE ,
  HIGH , MAX = 5
}
 優先度 More...
 
- Public Member Functions inherited from GxThread
 GxThread (void)
 コンストラクタ
 
 ~GxThread (void) override
 デストラクタ
 
b32 isStop (void) const
 停止中か判定
 
constexpr u32 getIndex (void) const
 インデックスを取得
 
constexpr GxRandomgetRandomGenerator (void) const
 乱数発生器を取得
 
b32 create (void *pIn, PRIORITY priority, u32 stackSize, s32 cpuIndex=-1)
 作成
 
void suspend (void)
 サスペンド
 
void resume (void)
 サスペンドから復帰
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 
- Static Public Member Functions inherited from GxThread
static GxThreadgetCurrentThread (void)
 カレントスレッドを取得
 
static GX_FORCE_INLINE void setFixThread (b32 on)
 スレッドのCPUを固定するか設定
 
static GX_FORCE_INLINE b32 isFixThread (void)
 スレッドのCPUを固定するか判定
 
static b32 casU32 (volatile u32 *pTarget, u32 oldValue, u32 newValue)
 符号なし32bit整数CAS(Compare-And-Swap)
 
static b32 casPointer (volatile void **ppTarget, void *pOld, void *pNew)
 ポインタCAS(Compare-And-Swap)
 
static void barrierMemory (void)
 メモリバリア
 
static void atomicExchangeU32 (volatile u32 *pTarget, u32 newValue)
 アトミックU32
 
static void sleep (u32 milliSecond)
 スリープ
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Protected Member Functions inherited from GxThread
virtual void createCallback (void)
 作成時のコールバック関数
 
void stop (void)
 停止(スレッド外からの呼び出し禁止)
 
- Protected Attributes inherited from GxThread
GxNativeThread _threadId
 スレッドID
 
- Static Protected Attributes inherited from GxThread
static GxThread_pThread [THREAD_MAX] = {nullptr}
 スレッド自身のポインタ
 
static u32 _num = 0
 作ったスレッド数
 

Detailed Description

非同期読み込みスレッドクラス

Member Function Documentation

◆ threadMain()

void GxSysFile::GxAsyncReadThread::threadMain ( void * pArgument)
overridevirtual

スレッドメイン

Parameters
pArgument[in] Thisポインタ

Implements GxThread.

Here is the call graph for this function:

The documentation for this class was generated from the following files: