Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Re: Sending down packets from separate thread: (1 Item)
   
Re: Sending down packets from separate thread  
Sean, can you give us a bit more detail on removing a thread?  I don't 
think I'm real clear on who is being protected from what by the 
quiesce() calls, and just how drivers should "handle their own 
quiescing".  I'm testing code that looks a lot like qnet's 
qdpp_handle_thread() loop, except with your DVF_QUIESCESELF flag.  I can 
/usually /unload the module without any apparent problems, but 
occasionally unloading it results in a SEGV in qnet's 
en_iopkt_tx_pkt().  Causing another module toSEGV suggests that I should 
be quiescing everybody but myself during some critical section, but so 
far the details are eluding me.

Murf