Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - two nw_pthreads for the same driver: (1 Item)
   
two nw_pthreads for the same driver  
Hi,
      I currently have two threads handling network context data and processing mbufs in my WIFI driver. However I have 
initialized only one of threads as a nw_pthread. I am facing memory segmentation errors while allocating in the non 
network thread. It appears I have to make the second thread a network thread. However can io-pkt handle more than one 
nw_pthread? There are a lot of global variables that both network threads would share such as the stk_ctl, WTP variables
 when we init the threads. I read somewhere io-pkt can have only one thread per driver.