cwIo.h/cpp : Added is_started_flag().
This commit is contained in:
parent
a2b70726c0
commit
17e84c0190
9
cwIo.cpp
9
cwIo.cpp
@ -2536,6 +2536,15 @@ cw::rc_t cw::io::stop( handle_t h )
|
||||
return rc;
|
||||
}
|
||||
|
||||
bool cw::io::is_started_flag( handle_t h )
|
||||
{
|
||||
if( h.isValid() )
|
||||
{
|
||||
io_t* p = _handleToPtr(h);
|
||||
return p->startedFl.load();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
cw::rc_t cw::io::exec( handle_t h, unsigned timeOutMs, void* execCbArg )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user