Tema: Re: Kaip nukill`inti thread`a ?
Autorius: Valdas
Data: 2011-02-11 10:11:13
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
>>
>>