simple_thread.cc (5489:94a7bb476fca) simple_thread.cc (5494:85c8d296c1cb)
1/*
2 * Copyright (c) 2001-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;

--- 288 unchanged lines hidden (view full) ---

297 connectToMemFunc(vp);
298 return vp;
299}
300
301void
302SimpleThread::delVirtPort(VirtualPort *vp)
303{
304 if (vp != virtPort) {
1/*
2 * Copyright (c) 2001-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;

--- 288 unchanged lines hidden (view full) ---

297 connectToMemFunc(vp);
298 return vp;
299}
300
301void
302SimpleThread::delVirtPort(VirtualPort *vp)
303{
304 if (vp != virtPort) {
305 vp->removeConn();
305 delete vp;
306 }
307}
308
309#endif
310
306 delete vp;
307 }
308}
309
310#endif
311