Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.
Next: SRFI-19, Previous: SRFI-17, Up: SRFI Support [Contents][Index]
This is an implementation of the SRFI-18 threading and synchronization library. The functions and variables described here are provided by
(use-modules (srfi srfi-18))
SRFI-18 defines facilities for threads, mutexes, condition variables, time, and exception handling. Because these facilities are at a higher level than Guile’s primitives, they are implemented as a layer on top of what Guile provides. In particular this means that a Guile mutex is not a SRFI-18 mutex, and a Guile thread is not a SRFI-18 thread, and so on. Guile provides a set of primitives and SRFI-18 is one of the systems built in terms of those primitives.
• SRFI-18 Threads: | Executing code | |
• SRFI-18 Mutexes: | Mutual exclusion devices | |
• SRFI-18 Condition variables: | Synchronizing of groups of threads | |
• SRFI-18 Time: | Representation of times and durations | |
• SRFI-18 Exceptions: | Signalling and handling errors |