IOThread: remove unused function io_thread_inside()
This commit is contained in:
parent
42f1e26540
commit
b92bff2658
@ -100,9 +100,3 @@ io_thread_get()
|
|||||||
|
|
||||||
return *io.loop;
|
return *io.loop;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
io_thread_inside(void)
|
|
||||||
{
|
|
||||||
return io.thread.IsInside();
|
|
||||||
}
|
|
||||||
|
@ -45,11 +45,4 @@ gcc_const
|
|||||||
EventLoop &
|
EventLoop &
|
||||||
io_thread_get();
|
io_thread_get();
|
||||||
|
|
||||||
/**
|
|
||||||
* Is the current thread the I/O thread?
|
|
||||||
*/
|
|
||||||
gcc_pure
|
|
||||||
bool
|
|
||||||
io_thread_inside();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user