(files "thread")
(parent (runtime))
(export ()
+ assert-thread-mutex-owned
block-thread-events
condition-type:no-current-thread
condition-type:thread-dead
deregister-timer-event
detach-thread
exit-current-thread
- guarantee-thread-mutex-owned
join-thread
lock-thread-mutex
make-thread-mutex
(if (not (thread-mutex? mutex))
(error:wrong-type-argument mutex "thread-mutex" procedure)))
-(define (guarantee-thread-mutex-owned mutex #!optional caller)
- (guarantee-thread-mutex mutex 'GUARANTEE-THREAD-MUTEX-OWNED)
+(define (assert-thread-mutex-owned mutex #!optional caller)
+ (guarantee-thread-mutex mutex 'ASSERT-THREAD-MUTEX-OWNED)
(if (not (eq? (current-thread) (thread-mutex/owner mutex)))
(if (default-object? caller)
(error "Don't own mutex:" mutex)