Disable scheduling in order to prevent error checking races between threads.
---
Well, I still don't have a clue whether disabling interrupts is actually a
bad idea somehow, but I don't see any easy way to rewrite the code to avoid
preemptive context switches that could screw up the error checking code
paths.
openssl.scm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/openssl.scm b/openssl.scm
index d43b228..31c76fd 100644
--- a/openssl.scm
+++ b/openssl.scm
@@ -33,6 +33,7 @@
(declare
(usual-integrations)
(no-procedure-checks-for-usual-bindings)
+ (disable-interrupts)
(bound-to-procedure
##sys#update-errno
##sys#signal-hook
--
1.7.2.5
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users