thread_context.hh (2834:c8342a71404b) | thread_context.hh (2875:9b6f6b75b187) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 98 unchanged lines hidden (view full) --- 107 /** Set the status to Active. Optional delay indicates number of 108 * cycles to wait before beginning execution. */ 109 virtual void activate(int delay = 1); 110 111 /** Set the status to Suspended. */ 112 virtual void suspend(); 113 114 /** Set the status to Unallocated. */ | 1/* 2 * Copyright (c) 2004-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; --- 98 unchanged lines hidden (view full) --- 107 /** Set the status to Active. Optional delay indicates number of 108 * cycles to wait before beginning execution. */ 109 virtual void activate(int delay = 1); 110 111 /** Set the status to Suspended. */ 112 virtual void suspend(); 113 114 /** Set the status to Unallocated. */ |
115 virtual void deallocate(); | 115 virtual void deallocate(int delay = 0); |
116 117 /** Set the status to Halted. */ 118 virtual void halt(); 119 120#if FULL_SYSTEM 121 /** Dumps the function profiling information. 122 * @todo: Implement. 123 */ --- 127 unchanged lines hidden --- | 116 117 /** Set the status to Halted. */ 118 virtual void halt(); 119 120#if FULL_SYSTEM 121 /** Dumps the function profiling information. 122 * @todo: Implement. 123 */ --- 127 unchanged lines hidden --- |