thread_context.hh (2690:f4337c0d9e6f) | thread_context.hh (2887:c4d893b14e07) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 106 unchanged lines hidden (view full) --- 115 /// Set the status to Active. Optional delay indicates number of 116 /// cycles to wait before beginning execution. 117 void activate(int delay = 1) { actualTC->activate(delay); } 118 119 /// Set the status to Suspended. 120 void suspend() { actualTC->suspend(); } 121 122 /// Set the status to Unallocated. | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 106 unchanged lines hidden (view full) --- 115 /// Set the status to Active. Optional delay indicates number of 116 /// cycles to wait before beginning execution. 117 void activate(int delay = 1) { actualTC->activate(delay); } 118 119 /// Set the status to Suspended. 120 void suspend() { actualTC->suspend(); } 121 122 /// Set the status to Unallocated. |
123 void deallocate() { actualTC->deallocate(); } | 123 void deallocate(int delay = 0) { actualTC->deallocate(delay); } |
124 125 /// Set the status to Halted. 126 void halt() { actualTC->halt(); } 127 128#if FULL_SYSTEM 129 void dumpFuncProfile() { actualTC->dumpFuncProfile(); } 130#endif 131 --- 175 unchanged lines hidden --- | 124 125 /// Set the status to Halted. 126 void halt() { actualTC->halt(); } 127 128#if FULL_SYSTEM 129 void dumpFuncProfile() { actualTC->dumpFuncProfile(); } 130#endif 131 --- 175 unchanged lines hidden --- |