Loading...
Searching...
No Matches
MainThread

Detailed Description

Functions

void BinaryNinja::RegisterMainThread (MainThreadActionHandler *handler)
 
Ref< MainThreadActionBinaryNinja::ExecuteOnMainThread (const std::function< void()> &action)
 
void BinaryNinja::ExecuteOnMainThreadAndWait (const std::function< void()> &action)
 
bool BinaryNinja::IsMainThread ()
 
void BinaryNinja::WorkerEnqueue (const std::function< void()> &action, const std::string &name="")
 
void BinaryNinja::WorkerEnqueue (RefCountObject *owner, const std::function< void()> &action, const std::string &name="")
 
void BinaryNinja::WorkerPriorityEnqueue (const std::function< void()> &action, const std::string &name="")
 
void BinaryNinja::WorkerPriorityEnqueue (RefCountObject *owner, const std::function< void()> &action, const std::string &name="")
 
void BinaryNinja::WorkerInteractiveEnqueue (const std::function< void()> &action, const std::string &name="")
 
void BinaryNinja::WorkerInteractiveEnqueue (RefCountObject *owner, const std::function< void()> &action, const std::string &name="")
 
size_t BinaryNinja::GetWorkerThreadCount ()
 
void BinaryNinja::SetWorkerThreadCount (size_t count)
 

Function Documentation

◆ RegisterMainThread()

void BinaryNinja::RegisterMainThread ( MainThreadActionHandler * handler)

◆ ExecuteOnMainThread()

Ref< MainThreadAction > BinaryNinja::ExecuteOnMainThread ( const std::function< void()> & action)
Thread Safe:
Yes

◆ ExecuteOnMainThreadAndWait()

void BinaryNinja::ExecuteOnMainThreadAndWait ( const std::function< void()> & action)
Thread Safe:
Yes

◆ IsMainThread()

bool BinaryNinja::IsMainThread ( )
Thread Safe:
Yes

◆ WorkerEnqueue() [1/2]

void BinaryNinja::WorkerEnqueue ( const std::function< void()> & action,
const std::string & name = "" )
Thread Safe:
Yes

◆ WorkerEnqueue() [2/2]

void BinaryNinja::WorkerEnqueue ( RefCountObject * owner,
const std::function< void()> & action,
const std::string & name = "" )
Thread Safe:
Yes

◆ WorkerPriorityEnqueue() [1/2]

void BinaryNinja::WorkerPriorityEnqueue ( const std::function< void()> & action,
const std::string & name = "" )
Thread Safe:
Yes

◆ WorkerPriorityEnqueue() [2/2]

void BinaryNinja::WorkerPriorityEnqueue ( RefCountObject * owner,
const std::function< void()> & action,
const std::string & name = "" )

◆ WorkerInteractiveEnqueue() [1/2]

void BinaryNinja::WorkerInteractiveEnqueue ( const std::function< void()> & action,
const std::string & name = "" )
Thread Safe:
Yes

◆ WorkerInteractiveEnqueue() [2/2]

void BinaryNinja::WorkerInteractiveEnqueue ( RefCountObject * owner,
const std::function< void()> & action,
const std::string & name = "" )
Thread Safe:
Yes

◆ GetWorkerThreadCount()

size_t BinaryNinja::GetWorkerThreadCount ( )
Thread Safe:
Yes

◆ SetWorkerThreadCount()

void BinaryNinja::SetWorkerThreadCount ( size_t count)
Thread Safe:
Yes