Details

Design of Multithreaded Software


Design of Multithreaded Software

The Entity-Life Modeling Approach
1. Aufl.

von: Bo I. Sanden

96,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 06.04.2011
ISBN/EAN: 9781118102732
Sprache: englisch
Anzahl Seiten: 320

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

This book assumes familiarity with threads (in a language such as Ada, C#, or Java) and introduces the entity-life modeling (ELM) design approach for certain kinds of multithreaded software. ELM focuses on "reactive systems," which continuously interact with the problem environment. These "reactive systems" include embedded systems, as well as such interactive systems as cruise controllers and automated teller machines. <p>Part I covers two fundamentals: program-language thread support and state diagramming. These are necessary for understanding ELM and are provided primarily for reference. Part II covers ELM from different angles. Part III positions ELM relative to other design approaches.</p>
<b>Foreword.</b> <p><b>Preface.</b></p> <p><b>I Foundations.</b></p> <p><b>1 Introduction.</b></p> <p>1.1 Entity-Life Modeling.</p> <p>1.2 Overview of This Book.</p> <p>1.3 Multithreading.</p> <p>1.4 Engineering the Intangible.</p> <p>1.5 The Development Process.</p> <p>1.6 Unifi ed Modeling Language.</p> <p>1.7 Conclusion.</p> <p><b>2 Support for Multithreading.</b></p> <p>2.1 Introduction.</p> <p>2.2 Concurrency in Java.</p> <p>2.3 Concurrency in Ada.</p> <p>2.4 Pthreads.</p> <p>2.5 Conclusion.</p> <p><b>3 State Modeling.</b></p> <p>3.1 Introduction.</p> <p>3.2 State-Modeling Terminology.</p> <p>3.3 Basic State Modeling.</p> <p>3.4 Superstates.</p> <p>3.5 Examples.</p> <p>3.6 State Modeling in Practice.</p> <p>3.7 State Machine Implementation.</p> <p>3.8 Conclusion.</p> <p><b>II The ELM Way.</b></p> <p><b>4 Entity-Life Modeling.</b></p> <p>4.1 Introduction.</p> <p>4.2 Modeling Software on Event Threads.</p> <p>4.3 Discovering and Choosing Event-Thread Models.</p> <p>4.4 Event-Thread Patterns for Resource Sharing.</p> <p>*4.5 Portraying the World in Software.</p> <p>4.6 Conclusion.</p> <p><b>5 Design Patterns Based on Event Threads.</b></p> <p>5.1 Introduction.</p> <p>5.2 State Machines without Software activities.</p> <p>5.3 Sequential-Activities Design Pattern.</p> <p>5.4 Concurrent-Activities Design Pattern.</p> <p>5.5 Communicating State Machines.</p> <p>5.6 Conclusion.</p> <p><b>6 Event-Thread Patterns for Resource Sharing.</b></p> <p>6.1 Introduction.</p> <p>6.2 Resource-User-Thread Pattern.</p> <p>6.3 The Resource-Guard-Thread Pattern.</p> <p>6.4 Choosing and Combining Patterns.</p> <p>6.5 Examples with Dual Solutions.</p> <p>6.6 Data Stream Processing.</p> <p>6.7 Repository Problems.</p> <p>6.8 Conclusion.</p> <p><b>7 Simultaneous Exclusive Access to Multiple Resources.</b></p> <p>7.1 Introduction.</p> <p>7.2 The Deadlock Problem.</p> <p>7.3 Case Studies.</p> <p>7.4 Heuristics.</p> <p>7.5 More on Deadlock and Its Prevention.</p> <p>7.6 Conclusion.</p> <p><b>III Background and Discussion.</b></p> <p><b>8 Real-Time Software Architectures and Data-Flow Design Approaches.</b></p> <p>8.1 Introduction.</p> <p>8.2 Real-Time Architectures.</p> <p>8.3 Data-Flow Design Approaches.</p> <p>8.4 Conclusion.</p> <p><b>9 The Origins of Entity-Life Modeling.</b></p> <p>9.1 Introduction.</p> <p>9.2 Early Experiences with Software Development.</p> <p>9.3 The Jackson Methods.</p> <p>9.3.1.4 Structure Clashes.</p> <p>*9.4 Formal Models and Methods.</p> <p>9.5 Software Patterns.</p> <p>9.6 Conclusion.</p> <p><b>Glossary.</b></p> <p><b>References.</b></p> <p><b>Index.</b></p>
<b>Bo I. Sandén</b>, PhD, serves as Professor of Computer Science at Colorado Technical University. He has also taught at George Mason University in Fairfax, Virginia. Prior to his teaching career, Dr. Sandén worked at Phillips Elektronikindustrier in Stockholm, Sweden, and has significant professional experience as a systems analyst, project manager, programmer, and consultant. He devotes his research activities primarily to software design and has published extensively on Jackson system development, concurrency in Ada and Java, and entity-life modeling.
"Bo Sandén has written a splendid book that should be read by every developer of systems that interact with the real world. The multi-threading theme that gives the book its title treats the identification and design of individual threads—that is, of concurrent processes—and the synchronisation and control of their interactions at common entities. The book succeeds excellently in this difficult area, expounding patterns of thread interaction that clarify both the problems they address and the solutions they offer."<br /> —<b>Michael A. Jackson, from the Foreword</b> <p><b>A novel approach to designing software for reactive systems</b></p> <p>This book is the first available in-depth introduction to the cutting-edge entity-life modeling (ELM) approach for the design of multithreaded, reactive software, making it an instant authoritative reference. The text is divided into three parts:</p> <ul> <li> <p>Part I covers two fundamentals necessary for understanding ELM—program-language thread support in Ada and Java, and state modeling</p> </li> <li> <p>Part II describes ELM's unique approach</p> </li> <li> <p>Part III positions ELM relative to other design approaches</p> </li> </ul> <p>Reactive software must respond to events in the world as they occur. To deal with this, ELM defines an event thread as a series of event occurrences that are separated in time. As the book reveals, event threads become the basis for software threads, leading to thread architectures that can be understood intuitively in problem-domain terms. Readers will discover how ELM captures the logic of event threads in terms of states, providing two patterns for designing software threads based on state diagrams and their activities.</p> <p>Event threads in the domain can also form patterns. The text explains how ELM identifies the resource-user-thread pattern and the resource-guard-thread pattern, both addressing resource sharing by multiple domain entities. It also covers the case where entities need simultaneous exclusive access to more than one resource, and shows how ELM deals with deadlock prevention.</p> <p><i>Design of Multithreaded Software</i> is intended for software designers, architects, and researchers as well as systems designers, programmers, and engineers interested in a practical account of this novel approach.</p>

Diese Produkte könnten Sie auch interessieren:

The CISO Evolution
The CISO Evolution
von: Matthew K. Sharp, Kyriakos Lambros
PDF ebook
33,99 €
Data Mining and Machine Learning Applications
Data Mining and Machine Learning Applications
von: Rohit Raja, Kapil Kumar Nagwanshi, Sandeep Kumar, K. Ramya Laxmi
EPUB ebook
190,99 €