Tema: Re: Kaip nukill`inti thread`a ?
Autorius: Valdas
Data: 2011-02-11 13:34:19
kaip ir sakiau, as threade groju garsa, tai galvojau kai threadui darau 
abort tai ir garsas nustos groti, bet groja iki galo :(

"rl" <ask@me.for> wrote in message news:ij36i5$57u$1@trimpas.omnitel.net...
> Is kitos puses kuom tau Abort() blogai?
> Jei "nuluzta" turi omenyje, akd pareina ThreadAbort exceptionas, tai cia 
> visados toks pareis. Ji galima nuignoruoti...
>
> On 2011.02.11 13:02, Valdas wrote:
>> tai kad tuomet viskas pakimba kol nesibaigia garsas :) o ir as nenoriu
>> laukti treado pabaigos, man reikia ji nukilinti, nes jame yra garsas kuri 
>> as
>> noriu nutildyti.
>>
>> "rl"<ask@me.for>  wrote in message 
>> news:ij2ubo$nnp$1@trimpas.omnitel.net...
>>> Nu taip.
>>>
>>> On 2011.02.11 10:11, Valdas wrote:
>>>> cia tipo vietoj Tread.Abort() naudoti Tread.Join() ???
>>>>
>>>> "rl"<ask@me.for>   wrote in message
>>>> news:ij2p1m$e6t$1@trimpas.omnitel.net...
>>>>> Tai daryk Thread.Join() ir sulauksi tvarkingai thread'o pabaigos...
>>>>>
>>>>> On 2011.02.11 08:27, Valdas wrote:
>>>>>> Sveiki, visas reikalas ant Visual Studio 2005, sukuriu Thread`a:
>>>>>> Dim Tread as System.Threading.Thread=new
>>>>>> System.Threading.Thread(AddressOf
>>>>>> manofunkcija)
>>>>>> Tread.Start()
>>>>>>
>>>>>> Sub manofunkcija()
>>>>>>        SndPlaySync("c:\a.mp3",0)
>>>>>> End Sub
>>>>>>
>>>>>> bandau uzdaryti Tread`a
>>>>>> Tread.Abort()
>>>>>>
>>>>>> ir cia treadas neuzsidaro, o nuluzta kai baigiamas groti tas garsas,
>>>>>> kodel
>>>>>> neuzdaromas is kart treadas ? ir kaip ji nukillinti ?
>>>>>>
>>>>>> aciu
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>