Decorate thread entry points in headers
This commit is contained in:
parent
fc787cee9a
commit
0d617ace7b
@ -7,6 +7,7 @@
|
||||
#include <pthread.h>
|
||||
#undef GetUserName //God dammit microsoft!
|
||||
|
||||
#include "Config.h"
|
||||
#include "Singleton.h"
|
||||
|
||||
class GameSave;
|
||||
@ -39,7 +40,7 @@ private:
|
||||
std::vector<Request*> requestQueue;
|
||||
std::vector<Request*> activeRequests;
|
||||
|
||||
static void * thumbnailQueueProcessHelper(void * ref);
|
||||
TH_ENTRY_POINT static void * thumbnailQueueProcessHelper(void * ref);
|
||||
void thumbnailQueueProcessTH();
|
||||
void assureRunning();
|
||||
|
||||
|
@ -47,7 +47,7 @@ void * SearchModel::updateSaveListT()
|
||||
return saveList;
|
||||
}
|
||||
|
||||
void * SearchModel::updateTagListTHelper(void * obj)
|
||||
TH_ENTRY_POINT void * SearchModel::updateTagListTHelper(void * obj)
|
||||
{
|
||||
return ((SearchModel *)obj)->updateTagListT();
|
||||
}
|
||||
|
@ -42,13 +42,13 @@ private:
|
||||
bool updateSaveListWorking;
|
||||
volatile bool updateSaveListFinished;
|
||||
pthread_t updateSaveListThread;
|
||||
static void * updateSaveListTHelper(void * obj);
|
||||
TH_ENTRY_POINT static void * updateSaveListTHelper(void * obj);
|
||||
void * updateSaveListT();
|
||||
|
||||
bool updateTagListWorking;
|
||||
volatile bool updateTagListFinished;
|
||||
pthread_t updateTagListThread;
|
||||
static void * updateTagListTHelper(void * obj);
|
||||
TH_ENTRY_POINT static void * updateTagListTHelper(void * obj);
|
||||
void * updateTagListT();
|
||||
public:
|
||||
SearchModel();
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
void gravity_cleanup();
|
||||
void gravity_update_async();
|
||||
|
||||
static void *update_grav_async_helper(void * context);
|
||||
TH_ENTRY_POINT static void *update_grav_async_helper(void * context);
|
||||
void update_grav_async();
|
||||
|
||||
void start_grav_async();
|
||||
|
@ -41,7 +41,7 @@ protected:
|
||||
virtual void before();
|
||||
virtual void after();
|
||||
virtual bool doWork();
|
||||
static void * doWork_helper(void * ref);
|
||||
TH_ENTRY_POINT static void * doWork_helper(void * ref);
|
||||
|
||||
virtual void notifyProgress(int progress);
|
||||
virtual void notifyError(std::string error);
|
||||
|
Reference in New Issue
Block a user