mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-16 13:00:59 +02:00
20 lines
373 B
C++
20 lines
373 B
C++
#ifndef EV_CONCURRENT_HPP
|
|
#define EV_CONCURRENT_HPP
|
|
|
|
namespace Ev { template<typename a> class Io; }
|
|
|
|
namespace Ev {
|
|
|
|
/** Ev::concurrent
|
|
*
|
|
* @brief causes the given IO action to be
|
|
* invoked later when the current greenthread
|
|
* yields.
|
|
* Starts a new greenthread with that IO
|
|
* action.
|
|
*/
|
|
Ev::Io<void> concurrent(Ev::Io<void> io);
|
|
|
|
}
|
|
|
|
#endif /* EV_CONCURRENT_HPP */
|