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_UPGTHREAD_H
9 #define kFS_UPGTHREAD_H
10 
11 #include <kFireSync/kFsDef.h>
13 kBeginHeader()
14 
15 
22 typedef kObject kUpgThread;
23 
24 kDeclareClass(kFs, kUpgThread, kObject)
25 
26 kFsFx(kStatus) kUpgThread_Construct(kUpgThread* thread, kAlloc alloc);
27 
28 kFsFx(kBool) kUpgThread_Completed(kUpgThread thread);
29 kFsFx(kStatus) kUpgThread_Status(kUpgThread thread);
30 
31 kFsFx(kStatus) kUpgThread_AddTask(kUpgThread thread, kUpgTask task);
32 kFsFx(kStatus) kUpgThread_Advance(kUpgThread thread, kBool* waiting);
33 
34 kFsFx(k32u) kUpgThread_Progress(kUpgThread thread);
35 kFsFx(k32u) kUpgThread_Weight(kUpgThread thread);
36 
37 kEndHeader()
38 #endif
Runs a list of asynchronous tasks in order.
Essential API declarations for the kFireSync library.
Represents an asynchronous task.
Declares the kUpgTask class.