Changeset 60 for sources/src/sc_module.cc
- Timestamp:
- Feb 14, 2017, 11:30:19 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_module.cc
r59 r60 38 38 #include <vector> 39 39 #include <set> 40 #ifdef _OPENMP 41 #include <omp.h> 42 #endif 40 43 41 44 #include "sc_module.h" … … 124 127 // ---------------------------------------------------------------------------- 125 128 method_process_t::method_process_t(const char * nm, SC_ENTRY_FUNC fn, sc_module & mod) { 126 name = nm; 127 func = fn; 128 module = &mod; 129 dont_initialize = false; 129 name = nm; 130 func = fn; 131 module = &mod; 132 dont_initialize = false; 133 #ifdef _OPENMP 134 omp_threadnum = omp_get_thread_num(); 135 #endif 130 136 } 131 137
Note: See TracChangeset
for help on using the changeset viewer.