aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-02-11 03:11:22 +0800
committertruckman <truckman@FreeBSD.org>2016-02-11 03:11:22 +0800
commit95e7c256b2e0e0d389fada001bc1cdefa8dc72da (patch)
tree4a7f2e072511b7c31f91028bfc9a9492a3db81c2 /cad
parent53500da4db7103ca23674d8df0c44417e1621164 (diff)
downloadfreebsd-ports-gnome-95e7c256b2e0e0d389fada001bc1cdefa8dc72da.tar.gz
freebsd-ports-gnome-95e7c256b2e0e0d389fada001bc1cdefa8dc72da.tar.zst
freebsd-ports-gnome-95e7c256b2e0e0d389fada001bc1cdefa8dc72da.zip
New port devel/py-terminable_thread:
terminable_thread 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. Sponsored by: Farsight Security, Inc.
Diffstat (limited to 'cad')
0 files changed, 0 insertions, 0 deletions