Skip to content

Commit

Permalink
Merge pull request #373 from rtobar/tp-stop
Browse files Browse the repository at this point in the history
Add annotation for ThreadPool.stop()
  • Loading branch information
bmerry authored Feb 10, 2025
2 parents 0e9eedc + 0fb0710 commit 5cd5fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spead2/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class ThreadPool:
def __init__(self, threads: int = ...) -> None: ...
@overload
def __init__(self, threads: int, affinity: list[int]) -> None: ...
def stop(self) -> None: ...
@staticmethod
def set_affinity(core: int) -> None: ...

Expand Down

0 comments on commit 5cd5fbf

Please sign in to comment.