Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kthreading

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kthreading

Get more controls over threads

  • 0.3
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc