Tema: Re: Kaip nukill`inti thread`a ?
Autorius: rl
Data: 2011-02-11 09:38:30
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
>
>