mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-26 22:06:06 +03:00
chore(async): clean up function declarations
This commit is contained in:
parent
3445f42eb8
commit
9e06cb8942
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "async/CAsyncObject.hpp"
|
#include "async/CAsyncObject.hpp"
|
||||||
|
|
||||||
CAsyncObject* AsyncFileReadAllocObject(void);
|
CAsyncObject* AsyncFileReadAllocObject();
|
||||||
|
|
||||||
void AsyncFileReadDestroyObject(CAsyncObject* object);
|
void AsyncFileReadDestroyObject(CAsyncObject* object);
|
||||||
|
|
||||||
|
|||||||
@ -65,7 +65,7 @@ void AsyncFileReadLinkObject(CAsyncObject* object, int32_t a2) {
|
|||||||
object->char25 = 0;
|
object->char25 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t AsyncFileReadPollHandler(const void*, void*) {
|
int32_t AsyncFileReadPollHandler(const void* a1, void* a2) {
|
||||||
uint32_t start = OsGetAsyncTimeMsPrecise();
|
uint32_t start = OsGetAsyncTimeMsPrecise();
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|||||||
@ -33,13 +33,13 @@ class AsyncFileRead {
|
|||||||
static STORM_EXPLICIT_LIST(CAsyncObject, link) s_asyncFileReadFreeList;
|
static STORM_EXPLICIT_LIST(CAsyncObject, link) s_asyncFileReadFreeList;
|
||||||
};
|
};
|
||||||
|
|
||||||
CAsyncQueue* AsyncFileReadCreateQueue(void);
|
CAsyncQueue* AsyncFileReadCreateQueue();
|
||||||
|
|
||||||
void AsyncFileReadCreateThread(CAsyncQueue* queue, const char* queueName);
|
void AsyncFileReadCreateThread(CAsyncQueue* queue, const char* queueName);
|
||||||
|
|
||||||
void AsyncFileReadLinkObject(CAsyncObject* object, int32_t a2);
|
void AsyncFileReadLinkObject(CAsyncObject* object, int32_t a2);
|
||||||
|
|
||||||
int32_t AsyncFileReadPollHandler(const void*, void*);
|
int32_t AsyncFileReadPollHandler(const void* a1, void* a2);
|
||||||
|
|
||||||
uint32_t AsyncFileReadThread(void* thread);
|
uint32_t AsyncFileReadThread(void* thread);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user