{"id":13844208,"url":"https://github.com/fooying/fthreadpool","last_synced_at":"2026-02-25T18:43:51.536Z","repository":{"id":67912419,"uuid":"100475124","full_name":"fooying/fthreadpool","owner":"fooying","description":"线程池模块，增加超时监控，自动Kill","archived":false,"fork":false,"pushed_at":"2017-08-16T10:01:13.000Z","size":7,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-21T16:40:18.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fooying.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-16T09:56:19.000Z","updated_at":"2024-07-28T20:03:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"98333597-0ac2-4011-b28f-193b260c6ec3","html_url":"https://github.com/fooying/fthreadpool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fooying/fthreadpool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooying%2Ffthreadpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooying%2Ffthreadpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooying%2Ffthreadpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooying%2Ffthreadpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fooying","download_url":"https://codeload.github.com/fooying/fthreadpool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooying%2Ffthreadpool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264909966,"owners_count":23682096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:02:37.422Z","updated_at":"2026-02-25T18:43:51.499Z","avatar_url":"https://github.com/fooying.png","language":"Python","readme":"# fthreadpool\n线程池模块，增加超时监控，自动Kill\nby Fooying 2017/06/16\n\n\n* 基于http://chrisarndt.de/projects/threadpool/ 线程池模块修改\n\n#### 修改功能：\n1. 多线程增加可kill方法\n2. 增加线程池任务超时监控\n\n#### 缺陷：\n1. 多线程kill方法采用threading.settrace来实现，会降低threading整体执行效率\n2. 任务超时监控本质采用重载的线程控制，无法监控到被监控线程中的使用了线程/子进程等复杂情况\n\n\n针对以上两点缺陷，增加了开关控制，允许不使用新增特性和方法，避免以上缺陷\n如果task_timeout设置为0，不开启任务超时监控，则不影响整体执行效率\n","funding_links":[],"categories":["Python","Python (1887)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffooying%2Ffthreadpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffooying%2Ffthreadpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffooying%2Ffthreadpool/lists"}