Results 1 to 3 of 3

Thread: Terminating a Thread ??

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Posts
    71

    Terminating a Thread ??

    hi guys..


    how can i destroy a running thread?
    i mean the thread that i create using System.Thrading

    it will not be terminated if i use:
    tempThread.Abort()

    !!!!!!!!!
    any help?




    thanks..
    ¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸

    (¯`·.¸¸.·´(¯`·.¸l VB-Sultan l¸.·´¯)`·.¸¸.·´¯)

    `·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`·.¸.·`

  2. #2
    Member
    Join Date
    May 2003
    Posts
    53
    try with suspend property

    tempThread.Suspend
    Syed Nadeemulla Hussaini
    # I-2,C & FM Quater
    Hutti Gold Mines Co Ltd.
    Raichur Karnataka
    INDIA

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by VB-Sultan
    hi guys..

    how can i destroy a running thread?
    i mean the thread that i create using System.Thrading

    it will not be terminated if i use:
    tempThread.Abort()

    Why not ? . Abort method should abort the thread which throws an AbortThreadException .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width