So does anyone know why the following code in the scheduler causes normal 
processes like bash and cron to be suspended as well? I have printed out all 
the proc names in this loop (inside the if statements) and none of them are 
bash or cron.


FOREACH_THREAD_IN_PROC(p, td)
                  {
                    if(p->p_km_switch == P_NON_RUN)
                        if( !TD_IS_SUSPENDED(td)  )
                            TD_SET_SUSPENDED(td);
                      
                    else if(p->p_km_switch == P_RUN)
                        if(TD_IS_SUSPENDED(td))
                            TD_CLR_SUSPENDED(td);

                  }


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to