added +netint which use sigio (opposite to +netpoll)
authorGengbin Zheng <gzheng@gzheng-desktop.(none)>
Tue, 2 Mar 2010 07:45:44 +0000 (01:45 -0600)
committerGengbin Zheng <gzheng@gzheng-desktop.(none)>
Tue, 2 Mar 2010 07:45:44 +0000 (01:45 -0600)
.gitignore
src/arch/net/machine.c

index b82a4655bbfa3f9eec49ce03cbbbb3de384354c9..b5632c94ab4409a16f7f0b26a50599517db3eebf 100644 (file)
@@ -28,3 +28,4 @@ uth-*
 # Note this is negated inside src/arch to permit addition of new charmrun files in there
 charmrun
 
+*.swp
index b77728ddbc6da680802820751c0e0686786caaff..fa58f9888cadf57465052e94e3ccb978e9a57368 100644 (file)
@@ -2655,6 +2655,7 @@ void ConverseInit(int argc, char **argv, CmiStartFn fn, int usc, int everReturn)
       CmiGetArgFlagDesc(argv,"++debug",NULL /*meaning: don't show this*/)) Cmi_truecrash = 1;
     /* netpoll disable signal */
   if (CmiGetArgFlagDesc(argv,"+netpoll","Do not use SIGIO--poll instead")) Cmi_netpoll = 1;
+  if (CmiGetArgFlagDesc(argv,"+netint","Use SIGIO")) Cmi_netpoll = 0;
     /* idlepoll use poll instead if sleep when idle */
   if (CmiGetArgFlagDesc(argv,"+idlepoll","Do not sleep when idle")) Cmi_idlepoll = 1;
     /* idlesleep use sleep instead if busywait when idle */