|
IDA SDK
|
Execute code in the main thread - to be used with execute_sync(). More...
#include <kernwin.hpp>
Public Types | |
| enum | { MFF_MAGIC = 0x12345678 } |
| Internal magic. | |
Public Member Functions | |
| bool | valid (void) const |
| Can this request be executed? | |
| virtual int idaapi | execute (void)=0 |
| Callback to be executed. More... | |
| exec_request_t (void) | |
| Constructor. | |
| virtual | ~exec_request_t (void) |
| Destructor. | |
Public Attributes | |
| int | code |
| temporary location, used internally | |
| qsemaphore_t | sem |
| semaphore to communicate with the main thread. More... | |
Execute code in the main thread - to be used with execute_sync().
|
pure virtual |
Callback to be executed.
If this function raises an exception, execute_sync() never returns.
| qsemaphore_t exec_request_t::sem |
semaphore to communicate with the main thread.
If nullptr, will be initialized by execute_sync().