MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / spawn

Function spawn

3rd/asio-1.24.0/include/asio/impl/spawn.hpp:1457–1466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455
1456template <typename Function>
1457inline void spawn(ASIO_MOVE_ARG(Function) function,
1458 const boost::coroutines::attributes& attributes)
1459{
1460 typedef typename decay<Function>::type function_type;
1461
1462 typename associated_executor<function_type>::type ex(
1463 (get_associated_executor)(function));
1464
1465 asio::spawn(ex, ASIO_MOVE_CAST(Function)(function), attributes);
1466}
1467
1468template <typename Handler, typename Function>
1469void spawn(ASIO_MOVE_ARG(Handler) handler,

Callers 5

ExecDeathTestSpawnChildFunction · 0.85
spawnMethod · 0.85
spawnMethod · 0.85
initiate_spawnClass · 0.85
spawn.hppFile · 0.85

Calls 2

get_executorMethod · 0.45

Tested by 1

ExecDeathTestSpawnChildFunction · 0.68