#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))) |
| template<typename F, typename... Args> |
| auto | sc_bind (F &&f, Args &&...args) -> decltype(std::bind(std::forward< F >(f), std::forward< Args >(args)...)) |
| template<typename T> |
| auto | sc_ref (T &&v) -> decltype(std::ref(std::forward< T >(v))) |
| template<typename T> |
| auto | 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++) \
}
void add_process(sc_process_handle)
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++) \
}
Definition at line 177 of file sc_spawn.hh.
◆ sc_bind()
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)...))
|
Definition at line 198 of file sc_spawn.hh.
Referenced by tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::nb_transport_fw(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::peq_with_cb_and_phase< OWNER, TYPES >::peq_with_cb_and_phase(), tlm_utils::simple_target_socket_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation(), and tlm_utils::simple_target_socket_tagged_b< MODULE, BUSWIDTH, TYPES, POL >::fw_process::start_of_simulation().
◆ sc_cref()
template<typename T>
| auto sc_core::sc_cref |
( |
T && | v | ) |
-> decltype(std::cref(std::forward<T>(v)))
|
◆ sc_ref()
template<typename T>
| auto sc_core::sc_ref |
( |
T && | v | ) |
-> decltype(std::ref(std::forward<T>(v)))
|