Re: Threads



The problem is that user close all forms but application not end because
there are 2 threads running. And then i can't execute again the same
application until i reset the device.

"Simon Hart" <srhartone@xxxxxxxxx> escribió en el mensaje
news:%230BSAB17FHA.2152@xxxxxxxxxxxxxxxxxxxxxxx
> It's bad practice to terminate a thread. You need to check some flag
> periodcially during your worker thread to determine whether the user want
> to end the process or not.
>
> Cheers
> Simon.
>
> "Julian Sanz" <jsanzg@xxxxxx> wrote in message
> news:%23eUb0707FHA.3224@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>>
>> I have had to developped an application for PocketPC. In this
>> application, I create 2 threads but then i can´t kill them and i can´t
>> close completly the application.
>>
>> ¿How can i kill these threads?
>>
>> Thanks
>>
>
>


.



Relevant Pages

  • Win32::Process Kill Process in Windows ME
    ... I want to kill a Process in Windows ME, ... I execute this in ME, ... Prev by Date: ...
    (comp.lang.perl.modules)
  • Re: China executes food safety cheif
    ... Once you kill someone, thats it, it is final, and there is ... A person in jail for life does you no harm, ... That we execute some of our guilty prisoners, ... appeals process, undermines our credibility to protest human rights ...
    (rec.food.cooking)
  • Re: China executes food safety cheif
    ... Once you kill someone, thats it, it is final, and there is never again a chance to bring back that person from death to learn about there crimes, or for them to prove their innocense. ... The *ease* with which China executed this corrupt official demonstrates their lack of respect for value for human life. ... That we execute some of our guilty prisoners, even after a long appeals process, undermines our credibility to protest human rights violations elsewhere. ...
    (rec.food.cooking)
  • Re: China executes food safety cheif
    ... Everybody here claims 'mental illness' when facing the death penalty. ... Once you kill someone, thats it, it is final, and there is ... A person in jail for life does you no harm, ... That we execute some of our guilty prisoners, ...
    (rec.food.cooking)
  • Re: China executes food safety cheif
    ... Once you kill someone, thats it, it is final, and there is never again a chance to bring back that person from death to learn about there crimes, or for them to prove their innocense. ... Many condenmed persons have been proven innocent thanks to modern forensics, and who is to say that future forensics wouldn't prove future persons innocent. ... The *ease* with which China executed this corrupt official demonstrates their lack of respect for value for human life. ... That we execute some of our guilty prisoners, even after a long appeals process, undermines our credibility to protest human rights violations elsewhere. ...
    (rec.food.cooking)