Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: SRFI Support   [Contents][Index]


7.5.15 SRFI-18 - Multithreading support

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))

As a general rule, the data types and functions in this SRFI-18 implementation are compatible with the types and functions in Guile’s core threading code. For example, mutexes created with the SRFI-18 make-mutex function can be passed to the built-in Guile function lock-mutex (see Mutexes and Condition Variables), and mutexes created with the built-in Guile function make-mutex can be passed to the SRFI-18 function mutex-lock!. Cases in which this does not hold true are noted in the following sections.