FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kUpgThread.h
Go to the documentation of this file.
1 
8 #ifndef kFS_UPG_THREAD_H
9 #define kFS_UPG_THREAD_H
10 
11 #include <kFireSync/kFsDef.h>
13 
21 typedef kObject kUpgThread;
22 
27 kFsFx(kStatus) kUpgThread_Construct(kUpgThread* thread, kAlloc alloc);
28 
29 kFsFx(kBool) kUpgThread_Completed(kUpgThread thread);
30 kFsFx(kStatus) kUpgThread_Status(kUpgThread thread);
31 
32 kFsFx(kStatus) kUpgThread_AddTask(kUpgThread thread, kUpgTask task);
33 kFsFx(kStatus) kUpgThread_Advance(kUpgThread thread, kBool* waiting);
34 
35 kFsFx(k32u) kUpgThread_Progress(kUpgThread thread);
36 kFsFx(k64u) kUpgThread_Weight(kUpgThread thread);
37 
38 #endif
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
Runs a list of asynchronous tasks in order.
Essential API declarations for the kFireSync library.
Represents an asynchronous task.
Declares the kUpgTask class.