This is the thread.comm.rendezvous Reference Manual, version 11.10.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:54:06 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
thread.comm.rendezvous
Rendezvous thread synchronization
Kazuo Koga
MIT
# Thread.Comm.Rendezvous
## Usage
(let ((rdv (make-rendezvous)))
(bordeaux-threads:make-thread (lambda () (accept-rendezvous rdv)))
(call-rendezvous rdv 2))
## Installation
Use Quicklisp.
## API
Thread.Comm.Rendezvous provides [CSP(Communicating sequential processes)](http://en.wikipedia.org/wiki/Communicating_sequential_processes) style inter thread communication channel.
All API are MT-Safe.
Currently run only on SBCL and Clozure-CL.
### [Function] make-rendezvous (&optional name)
Make and return new rendezvous object.
### [Generic Function] call-rendezvous (rendezvous value)
Send _value_ to and wait until _rendezvous_ acceptor thread.
Return _value_ or acceptor thread’s reply value if acceptor has :reply keyword arg.
### [Generic Function] accept-rendezvous (rendezvous &key reply)
Return _value_ from passed by _rendezvous_ caller thread.
_:reply_ should be one argument funcallable object.
It called after accept call-rendezvous _value_ and before restart call-rendezvous thread.
It’s evaluated value becomes call-rendezvous thread’s return value.
### [Generic Function] rendezvous-name (rendezvous)
Return _rendezvous_’s name.
### [Function] nickname-package (&optional (name :rdv))
Add nickname for this package (:THREAD.COMM.RENDEZVOUS).
## Author
* Kazuo Koga
## Copyright
Copyright (c) 2011 Kazuo Koga
# License
Licensed under the MIT License.
(http://www.opensource.org/licenses/MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11.10.2
cl-annot
(system).
bordeaux-threads
(system).
src
(module).
Modules are listed depth-first from the system components tree.
thread.comm.rendezvous/src
thread.comm.rendezvous
(system).
rendezvous.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
thread.comm.rendezvous/thread.comm.rendezvous.asd
thread.comm.rendezvous
(system).
thread.comm.rendezvous/src/rendezvous.lisp
src
(module).
accept-rendezvous
(method).
call-rendezvous
(method).
make-rendezvous
(function).
print-object
(method).
rendezvous-name
(method).
make-tconc
(function).
nickname-package
(function).
pop-tconc
(function).
push-tconc
(function).
rendezvous
(class).
tconc-empty-p
(function).
tconc-list
(function).
Packages are listed by definition order.
thread.comm.rendezvous
common-lisp
.
accept-rendezvous
(generic function).
call-rendezvous
(generic function).
make-rendezvous
(function).
rendezvous-name
(generic function).
make-tconc
(function).
nickname-package
(function).
pop-tconc
(function).
push-tconc
(function).
rendezvous
(class).
tconc-empty-p
(function).
tconc-list
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
rendezvous
) &key reply) ¶rendezvous
) value) ¶rendezvous
)) ¶Add NICKNAME (:RDV by default) to the :THREAD.COMM.RENDEZVOUS package.
Jump to: | A C F G M N P R T |
---|
Jump to: | A C F G M N P R T |
---|
Jump to: | C L N Q R S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
C | |||
condvar : | Private classes | ||
| |||
L | |||
lock : | Private classes | ||
| |||
N | |||
name : | Private classes | ||
| |||
Q | |||
queue : | Private classes | ||
| |||
R | |||
reader-count : | Private classes | ||
| |||
S | |||
Slot, condvar : | Private classes | ||
Slot, lock : | Private classes | ||
Slot, name : | Private classes | ||
Slot, queue : | Private classes | ||
Slot, reader-count : | Private classes | ||
|
Jump to: | C L N Q R S |
---|
Jump to: | C F M P R S T |
---|
Jump to: | C F M P R S T |
---|