Skip to main content

Get more controls over threads

Project description

KThreading - Get more control over threads

KThreading is a Python library that provides advanced functionality for interacting with threads.

Features

  1. Forced thread termination: The library allows you to forcibly terminate threads.
  2. Timed execution of functions: KThreading enables you to launch functions with a specified timeout.
  3. Retrieval of function results: The library provides the capability to retrieve the results of functions running in separate threads.
  4. Quick thread launch: KThreading offers a simple and convenient interface for launching threads with a single line of code.
  5. Usage of functions as error handlers: The library allows for the usage of functions as error handlers, which will be called in case of exceptions occurring in a thread.

Whats new in 0.3

  • Add "ident" property to KThread class
  • Set default "daemon" attribute value to "False"
  • Add "daemon" param to "start_kthread" function

Read docs at this webpage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kthreading-0.3.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file kthreading-0.3.tar.gz.

File metadata

  • Download URL: kthreading-0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for kthreading-0.3.tar.gz
Algorithm Hash digest
SHA256 d4123ad93c790f50599a0d542b0aa0800e1f428cc593f2186f475f5eca8fe9eb
MD5 2c6378f1ddd4c3331d391815aa4cc462
BLAKE2b-256 50280444d856783619b75e92698e759d753c18dbe2e04edbae8ae90378c4ab98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page