sc_module.cc (13035:bafbdba2352a) | sc_module.cc (13060:a5465580f647) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 47 unchanged lines hidden (view full) --- 56 return p; 57} 58 59Process * 60newCThreadProcess(const char *name, ProcessFuncWrapper *func) 61{ 62 Process *p = new CThread(name, func); 63 scheduler.reg(p); | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 47 unchanged lines hidden (view full) --- 56 return p; 57} 58 59Process * 60newCThreadProcess(const char *name, ProcessFuncWrapper *func) 61{ 62 Process *p = new CThread(name, func); 63 scheduler.reg(p); |
64 p->dontInitialize(); |
|
64 return p; 65} 66 67UniqueNameGen nameGen; 68 69} // namespace sc_gem5 70 71namespace sc_core --- 611 unchanged lines hidden --- | 65 return p; 66} 67 68UniqueNameGen nameGen; 69 70} // namespace sc_gem5 71 72namespace sc_core --- 611 unchanged lines hidden --- |