This paper describes the usage patterns of the ThreadedComposite actor in Ptolemy II. This actor enables the execution of opaque actors (atomic actors or composite actors with directors) in a separate thread, thus providing multithreading for models of computation that are not already multthreaded. It can be used to execute an actor in the background, to execute multiple actors in parallel (e.g. on a multicore machine), and to execute actors that block on I/O operations without blocking other actors.
Title
ThreadedComposite: A Mechanism for Building Concurrent and Parallel Ptolemy II Models
Published
2008-12-07
Full Collection Name
Electrical Engineering & Computer Sciences Technical Reports
Other Identifiers
EECS-2008-151
Type
Text
Extent
19 p
Archive
The Engineering Library
Usage Statement
Researchers may make free and open use of the UC Berkeley Library’s digitized public domain materials. However, some materials in our online collections may be protected by U.S. copyright law (Title 17, U.S.C.). Use or reproduction of materials protected by copyright beyond that allowed by fair use (Title 17, U.S.C. § 107) requires permission from the copyright owners. The use or reproduction of some materials may also be restricted by terms of University of California gift or purchase agreements, privacy and publicity rights, or trademark law. Responsibility for determining rights status and permissibility of any use or reproduction rests exclusively with the researcher. To learn more or make inquiries, please see our permissions policies (https://www.lib.berkeley.edu/about/permissions-policies).