Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    terminable_thread 0.7.1

    Download button

    No screenshots available
    Downloads: 148  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ted Tibbetts | More programs
    Freely Distributable / FREE
    September 22nd, 2010, 13:28 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    terminable_thread description

    Provides a subclass of Thread with facilities to raise an exception in the thread or terminate the thread from another thread

    terminable_thread is a library that provides a subclass of threading.Thread, adding the facility to raise exceptions in the context of the given thread.

    This facility is incorporated in the terminable_thread.Thread methods raise_exc, which raises an arbitrary exception, and terminate, which raises SystemExit.

    This is not done in an entirely robust manner, and there may be unreported issues with it.

    It uses the unexposed PyThreadState_SetAsyncExc function (via ctypes) to raise an exception for the given thread.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Thread subclass | terminate thread | Thread | subclass | terminate

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM