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();
306 delete vp;
307 }
308}
309
310#endif
311
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();
306 delete vp;
307 }
308}
309
310#endif
311