#include <functional>
#include <vector>
#include "sc_join.hh"
#include "sc_process_handle.hh"
Go to the source code of this file.
|
Process * | sc_gem5::spawnWork (ProcessFuncWrapper *func, const char *name, const ::sc_core::sc_spawn_options *opts) |
|
template<typename T > |
sc_process_handle | sc_core::sc_spawn (T object, const char *name_p=nullptr, const sc_spawn_options *opt_p=nullptr) |
|
template<typename T > |
sc_process_handle | sc_core::sc_spawn (typename T::result_type *r_p, T object, const char *name_p=nullptr, const sc_spawn_options *opt_p=nullptr) |
|
template<typename F , typename... Args> |
auto | sc_core::sc_bind (F &&f, Args &&...args) -> decltype(std::bind(std::forward< F >(f), std::forward< Args >(args)...)) |
|
template<typename T > |
auto | sc_core::sc_ref (T &&v) -> decltype(std::ref(std::forward< T >(v))) |
|
template<typename T > |
auto | sc_core::sc_cref (T &&v) -> decltype(std::cref(std::forward< T >(v))) |
|
◆ SC_CJOIN
Value: }; \
for (
int i = 0;
i <
sizeof(forkees) /
sizeof(forkees[0]);
i++) \
join.wait_clocked(); \
}
Definition at line 186 of file sc_spawn.hh.
◆ SC_FORK
◆ SC_JOIN
Value: }; \
for (
int i = 0;
i <
sizeof(forkees) /
sizeof(forkees[0]);
i++) \
join.wait(); \
}
Definition at line 177 of file sc_spawn.hh.