Next Previous Up Top Contents Index

5.11 The STREAMS module

stream-lock

Open generic function

Summary

Returns the lock for a stream.

Signature

stream-lock stream => lock

Arguments

stream
An instance of <stream>.

Values

lock
An instance of <lock>, or #f.

Library

io

Module

streams

Description

Returns lock for the specified stream. You can use this function, in conjunction with stream-lock-setter to implement a basic stream locking facility. For full details on the <lock> class, see the documentation on the Threads library in the Core Features and Mathematics manual.

See also

stream-lock-setter, page 97


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index