@@ -715,7 +715,7 @@ Locks
715
715
a thread uses a lock for *mutual-exclusion * in this way, the thread
716
716
is said to *own the lock *.
717
717
718
- :class: `<lock> ` has no direct instances; calling * make * on :class: `<lock> `
718
+ :class: `<lock> ` has no direct instances; calling :drm: ` make ` on :class: `<lock> `
719
719
returns an instance of :class: `<simple-lock> `.
720
720
721
721
:operations:
@@ -744,21 +744,21 @@ Locks
744
744
745
745
:conditions:
746
746
747
- * with-lock * may signal a condition of the following class (a
747
+ :macro: ` with-lock ` may signal a condition of the following class (a
748
748
subclass of :drm: `<serious-condition> `):
749
749
750
750
:class: `<timeout-expired> `
751
- This is signalled when * with-lock * did not succeed in claiming
751
+ This is signalled when :macro: ` with-lock ` did not succeed in claiming
752
752
the lock within the timeout period.
753
753
754
754
:description:
755
755
756
756
Execute the *body * with *lock * held. If a *failure * clause is
757
757
supplied, then it will be evaluated and its values returned from
758
- * with-lock * if the lock cannot be claimed (because a timeout
758
+ :macro: ` with-lock ` if the lock cannot be claimed (because a timeout
759
759
occurred). The default, if no *failure * clause is supplied, is
760
760
to signal an exception of class :class: `<timeout-expired> `. If there
761
- is no failure, * with-lock * returns the results of evaluating the
761
+ is no failure, :macro: ` with-lock ` returns the results of evaluating the
762
762
body.
763
763
764
764
:example:
@@ -855,7 +855,7 @@ Semaphores
855
855
856
856
:conditions:
857
857
858
- An implementation of this * release * method is permitted to signal a
858
+ An implementation of this :gf: ` release ` method is permitted to signal a
859
859
condition of the following class, which is a subclass of
860
860
:drm: `<error> `:
861
861
@@ -893,13 +893,13 @@ Exclusive locks
893
893
The notion of ownership is directly supported by the class, and a
894
894
thread can test whether an :class: `<exclusive-lock> ` is currently owned.
895
895
An instance of :class: `<exclusive-lock> ` can only be owned by one thread
896
- at a time, by calling * wait-for * on the lock.
896
+ at a time, by calling :gf: ` wait-for ` on the lock.
897
897
898
898
Once owned, any attempt by any other thread to wait for the lock
899
899
will cause that thread to block. It is an error for a thread to
900
900
release an :class: `<exclusive-lock> ` if another thread owns it.
901
901
902
- :class: `<exclusive-lock> ` has no direct instances; calling * make * on
902
+ :class: `<exclusive-lock> ` has no direct instances; calling :drm: ` make ` on
903
903
:class: `<exclusive-lock> ` returns an instance of :class: `<simple-lock> `.
904
904
905
905
:operations:
@@ -921,7 +921,7 @@ Exclusive locks
921
921
922
922
:conditions:
923
923
924
- Implementations of * release * methods for subclasses of
924
+ Implementations of :gf: ` release ` methods for subclasses of
925
925
:class: `<exclusive-lock> ` are permitted to signal a condition
926
926
of the following class, which is a subclass of :drm: `<error> `:
927
927
@@ -935,7 +935,7 @@ Exclusive locks
935
935
Releases a lock that is owned by the calling thread. It is an error
936
936
if the lock is not owned.
937
937
938
- The Threads module does not provide a method on * release * for
938
+ The Threads module does not provide a method on :gf: ` release ` for
939
939
:class: `<exclusive-lock> `, which is an open abstract class. Each
940
940
concrete subclass will have an applicable method which may signal
941
941
errors according to the protocol described above.
@@ -1359,19 +1359,19 @@ Notifications
1359
1359
for another thread to release the notification. The current thread
1360
1360
reclaims the lock once it has received the notification.
1361
1361
1362
- Note that the state should be tested again once * wait-for * has
1362
+ Note that the state should be tested again once :gf: ` wait-for ` has
1363
1363
returned, because there may have been a delay between the
1364
1364
:meth: `release <release(<notification>)> ` of the notification and
1365
1365
the claiming of the lock, and the state may have been changed
1366
1366
during that time. If a timeout is supplied, then this is used for
1367
- waiting for the release of the notification only. The * wait-for *
1367
+ waiting for the release of the notification only. The :gf: ` wait-for `
1368
1368
function always waits for the lock with no timeout, and it is
1369
- guaranteed that the lock will be owned on return. The * wait-for *
1369
+ guaranteed that the lock will be owned on return. The :gf: ` wait-for `
1370
1370
function returns :drm: `#f ` if the notification wait times out.
1371
1371
1372
1372
:conditions:
1373
1373
1374
- Implementations of this * wait-for * method are permitted to signal a
1374
+ Implementations of this :gf: ` wait-for ` method are permitted to signal a
1375
1375
condition of the following class, which is a subclass of :drm: `<error> `:
1376
1376
1377
1377
:class: `<not-owned-error> `
@@ -1392,7 +1392,7 @@ Notifications
1392
1392
1393
1393
:conditions:
1394
1394
1395
- Implementations of this * release * method are permitted to signal a
1395
+ Implementations of this :gf: ` release ` method are permitted to signal a
1396
1396
condition of the following class, which is a subclass of
1397
1397
:drm: `<error> `:
1398
1398
@@ -1420,7 +1420,7 @@ Notifications
1420
1420
1421
1421
:conditions:
1422
1422
1423
- Implementations of the * release-all * function are permitted to signal a
1423
+ Implementations of the :gf: ` release-all ` function are permitted to signal a
1424
1424
condition of the following class, which is a subclass of :drm: `<error> `:
1425
1425
1426
1426
:class: `<not-owned-error> `
@@ -1457,7 +1457,7 @@ Thread variables
1457
1457
.. macro :: thread
1458
1458
:macro-type: variable definition adjective
1459
1459
1460
- An adjective to * define variable * for defining thread variables.
1460
+ An adjective to :drm: ` define variable ` for defining thread variables.
1461
1461
1462
1462
:macrocall:
1463
1463
.. parsed-literal :: define thread variable `bindings` = `init` ;
0 commit comments