Boost logo

Boost Users :

From: lukas (lux_at_[hidden])
Date: 2005-09-27 04:54:01


hi

I'm new to boost.threads and have a basic question.
During program execution the user has to check the connection
to a server. This action should take place in a simple thread.
If the user gets bored waiting for responce, he should be able to
stop the process and return back to the main application.

Is there a proper standard solution?

For now I try to yield the thread holding the connection methods.
In this case the inner methods all terminate and are not going to be
stopped.

My first attemp is to stop this inner methods by hand.

Is there a better way to do this?

kind regards,

        luke


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net