[ECOS] where set bits of netint_flags?

张 亮 johnsonest@hotmail.com
Fri Jan 3 04:20:00 GMT 2003


Dear Gary,
      I know the thread "cyg_netint" is used to process network events.
this thread wait the flag netint_flags,but who set this flag?
I search all files,especially driver,I found this procedure:
       net_isr()
          |
       eth_drv_dsr()
          |
ecos_synch_eth_drv_dsr()
          |
 cyg_flag_setbits( &alarm_flag, 2 );//strange,why set alarm_flag? this will 
wake alarm_thread and call //till here in DSR level
"eth_drv_run_deliveries"//in thread level
          |
    (*sc->funs->deliver)(sc)//thread level
          |
     quicc_eth_deliver()//thread level
          |
        receive/transmit
Brs/johnsonest
          

          





_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn 


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list