MXS-2314 Remove unnecessary worker states
The removed states were not used for anything useful.
This commit is contained in:
@ -298,10 +298,8 @@ public:
|
||||
enum state_t
|
||||
{
|
||||
STOPPED,
|
||||
IDLE,
|
||||
POLLING,
|
||||
PROCESSING,
|
||||
ZPROCESSING
|
||||
};
|
||||
|
||||
enum execute_mode_t
|
||||
|
@ -535,7 +535,7 @@ void Worker::run(mxb::Semaphore* pSem)
|
||||
|
||||
if (pre_run())
|
||||
{
|
||||
m_state = IDLE;
|
||||
m_state = PROCESSING;
|
||||
|
||||
if (pSem)
|
||||
{
|
||||
@ -886,8 +886,6 @@ void Worker::poll_waitevents()
|
||||
}
|
||||
|
||||
epoll_tick();
|
||||
|
||||
m_state = IDLE;
|
||||
} /*< while(1) */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user