janet
janet copied to clipboard
Better handling for (pthread) cancellation.
Even if Janet doesn't explicitly allow cancellation of threads, other C functions may call pthread_cancel on threads. We should investigate making sure the interpreter integrates with pthead cancellation points such that there isn't any (or minimal) chance of corruption on thread cancellation.