2001-01-09 10:52:52 -05:00
|
|
|
; Copyright (c) 1999-2001 by Martin Gasbichler. See file COPYING.
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-01-09 10:52:52 -05:00
|
|
|
;;; Extend the functions of the RTS
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-03-23 07:45:31 -05:00
|
|
|
(define (next-sigevent pre-event type)
|
|
|
|
(if (not (sigevent? pre-event))
|
|
|
|
(error "pre-event is not an event"))
|
|
|
|
(rts-next-sigevent pre-event type eq?))
|
1999-09-14 09:32:05 -04:00
|
|
|
|
2001-03-23 07:45:31 -05:00
|
|
|
(define (next-sigevent-set pre-event set)
|
|
|
|
(if (not (sigevent? pre-event))
|
|
|
|
(error "pre-event is not an event"))
|
|
|
|
(rts-next-sigevent pre-event set interrupt-in-set?))
|
1999-09-23 10:36:25 -04:00
|
|
|
|
2001-03-23 07:45:31 -05:00
|
|
|
(define (next-sigevent/no-wait pre-event type)
|
|
|
|
(if (not (sigevent? pre-event))
|
|
|
|
(error "pre-event is not an event"))
|
|
|
|
(rts-next-sigevent/no-wait pre-event type eq?))
|
1999-09-23 10:36:25 -04:00
|
|
|
|
2001-03-23 07:45:31 -05:00
|
|
|
(define (next-sigevent-set/no-wait set pre-event)
|
|
|
|
(if (not (sigevent? pre-event))
|
|
|
|
(error "pre-event is not an event"))
|
|
|
|
(rts-next-sigevent/no-wait pre-event set interrupt-in-set?))
|
1999-09-23 10:36:25 -04:00
|
|
|
|