Re: Anaconda Thread timeout

Pat Riehecky <[email protected]>
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <[email protected]>

On 01/26/2016 10:34 AM, Brian C. Lane wrote:
> On Tue, Jan 26, 2016 at 10:17:13AM -0600, Pat Riehecky wrote:
>> Is there a clean way to set a maximum runtime for an anaconda thread?
>>
> No, ThreadMgr is a pretty light framework. The code running in the
> thread is responsible for shutting it down when done or raising errors
> when there is a problem.
>
> What are you trying to do that would need a timeout?
>

I've got a thread watching the network state, if the network never comes 
up (because the user didn't ask for it) it sticks.

I'll just add a check to how long it runs

Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.