From: Matt Birkholz Date: Fri, 13 Mar 2015 07:07:48 +0000 (-0700) Subject: smp: Use without-interruption. Squash into 62ed22f. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=368801c91ee7b2afafa1b4033953979d043894eb;p=mit-scheme.git smp: Use without-interruption. Squash into 62ed22f. --- diff --git a/src/runtime/crypto.scm b/src/runtime/crypto.scm index e13005eaa..7f76961c2 100644 --- a/src/runtime/crypto.scm +++ b/src/runtime/crypto.scm @@ -67,7 +67,7 @@ USA. (define (mhash-init name) (let ((id (mhash-name->id name 'MHASH-INIT))) - (without-interrupts + (without-interruption (lambda () (let ((index ((ucode-primitive mhash_init 1) id))) (if (not index) @@ -84,7 +84,7 @@ USA. (define (mhash-hmac-init name key) (let* ((id (mhash-name->id name 'MHASH-INIT)) (pblock ((ucode-primitive mhash_get_hash_pblock 1) id))) - (without-interrupts + (without-interruption (lambda () (let ((index ((ucode-primitive mhash_hmac_init 3) id key pblock))) (if (not index) @@ -385,7 +385,7 @@ USA. (names-vector->list mcrypt-mode-names-vector)) (define (mcrypt-open-module algorithm mode) - (without-interrupts + (without-interruption (lambda () (add-to-gc-finalizer! mcrypt-contexts (make-mcrypt-context