schedule() other processes while waiting in ec_master_sync_io().
--- a/TODO Mon Feb 12 10:39:52 2007 +0000
+++ b/TODO Mon Feb 12 11:12:00 2007 +0000
@@ -8,7 +8,6 @@
* Release 1.2:
- Find bug causing slow unloading after topology change.
- - Use schedule() in ec_master_sync_io().
- Introduce topology_change_pending.
- Update feature lists.
--- a/master/master.c Mon Feb 12 10:39:52 2007 +0000
+++ b/master/master.c Mon Feb 12 11:12:00 2007 +0000
@@ -1458,6 +1458,7 @@
ecrt_master_send(master);
while (1) { // active waiting
+ schedule(); // schedule other processes while waiting.
ecrt_master_receive(master); // receive and dequeue datagrams
// count number of datagrams still waiting for response