| 1 |
;;; |
| 2 |
;;; (srfi 226 thread) |
| 3 |
;;; |
| 4 |
|
| 5 |
(define-module srfi.226.thread |
| 6 |
(use gauche.threads) |
| 7 |
(export &thread |
| 8 |
make-thread-condition |
| 9 |
thread-condition? |
| 10 |
&uncaught-exception |
| 11 |
make-uncaught-exception-condition |
| 12 |
uncaught-exception-condition? |
| 13 |
uncaught-exception-condition-reason |
| 14 |
&thread-already-terminated |
| 15 |
make-thread-already-terminated-condition |
| 16 |
thread-already-terminated-condition? |
| 17 |
&thread-timeout |
| 18 |
make-thread-timeout-condition |
| 19 |
thread-timeout-condition? |
| 20 |
&thread-abandoned-mutex |
| 21 |
make-thread-abandoned-mutex-condition |
| 22 |
thread-abandoned-mutex-condition? |
| 23 |
;; &concurrent-modification |
| 24 |
;; make-concurrent-modification-violation |
| 25 |
;; concurrent-modification-violation? |
| 26 |
;; thread |
| 27 |
make-thread |
| 28 |
thread? |
| 29 |
current-thread |
| 30 |
thread-start! |
| 31 |
thread-yield! |
| 32 |
thread-terminate! |
| 33 |
thread-schedule-terminate! |
| 34 |
thread-join! |
| 35 |
make-mutex |
| 36 |
mutex? |
| 37 |
mutex-state |
| 38 |
mutex-lock! |
| 39 |
mutex-unlock! |
| 40 |
make-condition-variable |
| 41 |
condition-variable? |
| 42 |
condition-variable-signal! |
| 43 |
condition-variable-broadcast!)) |