U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » how to stop a thread that is waiting, e.g., listen()
icon11.gif  how to stop a thread that is waiting, e.g., listen() [message #11802] Wed, 26 September 2007 11:40 Go to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
i know how to do this neither in GNU C++ nor in U++.
one thread create the other. the second thread binds a socket and listen, waiting for incoming connections, and obviously it is blocked. how does the first thread stop the second? Rolling Eyes
thank you.
 
Read Message icon11.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon5.gif
Read Message
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message icon11.gif
Read Message
Read Message
Previous Topic: GuiMT example does not calculate all divisors...
Next Topic: will implement a UDP class?
Goto Forum:
  


Current Time: Sat May 02 22:03:56 GMT+2 2026

Total time taken to generate the page: 0.00524 seconds