process_types.hh (13182:9e030f636a8c) | process_types.hh (13306:2196f4a8201f) |
---|---|
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 --- 49 unchanged lines hidden (view full) --- 58 Thread(const char *name, ProcessFuncWrapper *func, bool internal=false) : 59 Process(name, func, internal), ctx(nullptr) 60 {} 61 62 ~Thread() { delete ctx; } 63 64 const char *kind() const override { return "sc_thread_process"; } 65 | 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 --- 49 unchanged lines hidden (view full) --- 58 Thread(const char *name, ProcessFuncWrapper *func, bool internal=false) : 59 Process(name, func, internal), ctx(nullptr) 60 {} 61 62 ~Thread() { delete ctx; } 63 64 const char *kind() const override { return "sc_thread_process"; } 65 |
66 void throw_it(ExceptionWrapperBase &exc, bool inc_kids) override; 67 | |
68 sc_core::sc_curr_proc_kind 69 procKind() const override 70 { 71 return sc_core::SC_THREAD_PROC_; 72 } 73 74 Fiber * 75 fiber() override --- 57 unchanged lines hidden --- | 66 sc_core::sc_curr_proc_kind 67 procKind() const override 68 { 69 return sc_core::SC_THREAD_PROC_; 70 } 71 72 Fiber * 73 fiber() override --- 57 unchanged lines hidden --- |