Post #4276594
2026-07-31 10:56 UTC
Replies (2)
-
@synlogic4242@social.vivaldi.net 2026-07-31 11:14
@icing@chaos.social @david_chisnall@infosec.exchange I think I adopted a rule to not try doing it (in C or any other proglang) because of all the prickly failure modes. in Golang we have the luxury of either using channels to convey that desire to the target thread, or, cancelling a "context" in Golangspeak. in early Java days I remember they also first designed it with an API for externally cancelling a java.lang.Thread and then abandoned it there too as too dangerous. I would not be shocked to learn if Java 1.0's impl of thread cancelling was itself a wrapper around pthread_cancel too.
-
@acsawdey@fosstodon.org 2026-07-31 11:48
@icing@chaos.social @david_chisnall@infosec.exchange Amusing that DNS is the agent provocateur leading to this example of bad behavior…