PerfectSwitch.cc (9117:49116b947194) | PerfectSwitch.cc (9171:ae88ecf37145) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 246 unchanged lines hidden (view full) --- 255 enough = false; 256 DPRINTF(RubyNetwork, "Checking if node is blocked ..." 257 "outgoing: %d, vnet: %d, enough: %d\n", 258 outgoing, vnet, enough); 259 } 260 261 // There were not enough resources 262 if (!enough) { | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 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; --- 246 unchanged lines hidden (view full) --- 255 enough = false; 256 DPRINTF(RubyNetwork, "Checking if node is blocked ..." 257 "outgoing: %d, vnet: %d, enough: %d\n", 258 outgoing, vnet, enough); 259 } 260 261 // There were not enough resources 262 if (!enough) { |
263 g_eventQueue_ptr->scheduleEvent(this, 1); | 263 scheduleEvent(1); |
264 DPRINTF(RubyNetwork, "Can't deliver message since a node " 265 "is blocked\n"); 266 DPRINTF(RubyNetwork, "Message: %s\n", (*net_msg_ptr)); 267 break; // go to next incoming port 268 } 269 270 MsgPtr unmodified_msg_ptr; 271 --- 70 unchanged lines hidden --- | 264 DPRINTF(RubyNetwork, "Can't deliver message since a node " 265 "is blocked\n"); 266 DPRINTF(RubyNetwork, "Message: %s\n", (*net_msg_ptr)); 267 break; // go to next incoming port 268 } 269 270 MsgPtr unmodified_msg_ptr; 271 --- 70 unchanged lines hidden --- |