move threads-are-not-OS-threads docs from 10 to 1.1.13
svn: r12501
This commit is contained in:
parent
a01728e63a
commit
f81826e792
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
@title[#:tag "concurrency" #:style 'toc]{Concurrency}
|
@title[#:tag "concurrency" #:style 'toc]{Concurrency}
|
||||||
|
|
||||||
PLT Scheme supports multiple threads of control within a
|
PLT Scheme supports multiple threads of control within a program,
|
||||||
program. Threads run concurrently, in the sense that one thread can
|
thread-local storage, some primitive synchronization mechanisms, and a
|
||||||
preempt another without its cooperation, but threads currently all run
|
framework for composing synchronization abstractions.
|
||||||
on the same processor (i.e., the same underlying OS process and
|
|
||||||
thread).
|
|
||||||
|
|
||||||
@local-table-of-contents[]
|
@local-table-of-contents[]
|
||||||
|
|
||||||
|
|
|
@ -650,8 +650,12 @@ escape-continuation aborts can cross continuation barriers.
|
||||||
@;------------------------------------------------------------------------
|
@;------------------------------------------------------------------------
|
||||||
@section[#:tag "thread-model"]{Threads}
|
@section[#:tag "thread-model"]{Threads}
|
||||||
|
|
||||||
Scheme supports multiple, pre-emptive @deftech{threads} of
|
Scheme supports multiple @deftech{threads} of evaluation. Threads run
|
||||||
evaluation. Threads are created explicitly by functions such as @scheme[thread].
|
concurrently, in the sense that one thread can preempt another without
|
||||||
|
its cooperation, but threads currently all run on the same processor
|
||||||
|
(i.e., the same underlying OS process and thread).
|
||||||
|
|
||||||
|
Threads are created explicitly by functions such as @scheme[thread].
|
||||||
In terms of the evaluation model, each step in evaluation actually consists of multiple concurrent
|
In terms of the evaluation model, each step in evaluation actually consists of multiple concurrent
|
||||||
expressions, up to one per thread, rather than a single expression. The expressions all
|
expressions, up to one per thread, rather than a single expression. The expressions all
|
||||||
share the same objects and top-level variables, so that they can
|
share the same objects and top-level variables, so that they can
|
||||||
|
|
Loading…
Reference in New Issue
Block a user