Doing Hard Time: Developing Real-Time Systems with UML, Objects, Frameworks, and Patterns

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $73.33
Usually ships in 1-2 business days
(Save 18%)
Other sellers (Paperback)
  • All (2) from $73.33   
  • New (1) from $73.33   
  • Used (1) from $73.33   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2008

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Brand New, Perfect Condition, Please allow 4-14 business days for delivery. 100% Money Back Guarantee, Over 1,000,000 customers served.

Ships from: Westminster, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2008

Feedback rating:


Condition: Like New
Brand New, Perfect Condition, Please allow 4-14 business days for delivery. 100% Money Back Guarantee, Over 1,000,000 customers served.

Ships from: Westminster, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by


"This book will almost certainly become a seminal work in this field...the one book everyone will want to have both as a tutorial and as a reference."
--Larry McAlister, Senior Systems Architect, ENSCO, Inc.

The global demand for real-time and embedded systems is growing rapidly. With this increased demand comes an urgent need for more programmers in this realm; yet making the transition to real-time systems development or learning to build these applications is by no means simple. Real-time system designs must be written to meet hard and unforgiving requirements. It is a pursuit that requires a unique set of skills. Clearly, real-time systems development is a formidable task, and developers face many unique challenges as they attempt to do "hard time."

Doing Hard Time is written to facilitate the daunting process of developing real-time systems. It presents an embedded systems programming methodology that has been proven successful in practice. The process outlined in this book allows application developers to apply practical techniques--garnered from the mainstream areas of object-oriented software development--to meet the demanding qualifications of real-time programming.

Bruce Douglass offers ideas that are up-to-date with the latest concepts and trends in programming. By using the industry standard Unified Modeling Language (UML), as well as the best practices from object technology, he guides you through the intricacies and specifics of real-time systems development. Important topics such as schedulability, behavioral patterns, and real-time frameworks are demystified, empowering you to become a more effective real-time programmer.

Read More Show Less

Product Details

  • ISBN-13: 9780321774934
  • Publisher: Addison-Wesley
  • Publication date: 9/26/2011
  • Pages: 800
  • Product dimensions: 7.40 (w) x 9.20 (h) x 1.90 (d)

Meet the Author

Bruce Powel Douglass is the Chief Evangelist for i-Logix, a leading producer of tools for real-time systems development. He contributed to the original specification of the UML and to the UML 2.0 as one of the co-chairs of the Object Management Group’s Real-Time Analysis and Design Working Group. Bruce consults for a number of companies and organizations, including NASA, on building large-scale, real-time, safety-critical systems. He is the author of seven other books, including Real-Time Design Patterns (Addison-Wesley, 2003) and Doing Hard Time (Addison-Wesley, 1999).

Read More Show Less

Table of Contents

(Chapters begin with an Introduction and conclude with a Summary, Looking Ahead, Exercises and References.)

Figure List.

About the Author.




1. Introduction to Objects and the Unified Modeling Language.

Advantages of Objects.

Terms and Concepts.

Object Orientation with UML.







Objects as Autonomous Machines.

Class Diagrams.

Relations Among Classes and Objects.

Use Cases.

Sequence Diagrams.

Physical Representation.

Things Common to Diagrams.





2. Basic Concepts of Real-Time Systems.

What is Real-Time?

Terms and Concepts.




Scheduling Concurrent Threads.

Event Arrival Patterns.

Thread Rendezvous Patterns.

Sharing Resources.


Memory Management.

Correctness and Robustness.


Exceptional Conditions.

Race Conditions.

Distributed Systems.

Fault Tolerance and Safety.

Dealing with Resource-Limited Target Environments.

Low-Level Hardware Interfacing.

Real-Time Operating Systems.



Typical RTOS Features.

3. Basic Concepts of Safety-Critical Systems.

Introduction to Safety.

The Therac-25 Story.

Other Stories.

Terms and Concepts.

Safety Related Faults.

Safety is a System Issue.

Random Faults Versus Systematic Faults.

Single Point Failures.

Common Mode Failures.

Latent Faults.

Fail-Safe State.

Achieving Safety.

Safety Architectures.

Single Channel Protected Design.

Eight Steps to Safety.

Step 1: Identify the Hazards.

Step 2: Determine the Risks.

Step 3: Define the Safety Measures.

Step 4: Create Safe Requirements.

Step 5: Create Safe Design.

Step 6: Implementing Safely.

Step 7: Assure Safety Process.

Step 8: Test, Test, Test.

Few Safety Related Standards.

4. Rapid Object-Oriented Process for Embedded Systems.

Terms and Concepts.

Development Phases.



Development Task Sequencing.

Waterfall Lifecycle.

Iterative Lifecycles.


Scheduling and Estimation.

Advantages of Accurate Schedules.

Difficulties of Accurate Scheduling.

The ROPES Macro Cycle.


Requirements Analysis.

Systems Analysis.

Object Analysis.


Architectural Design.

Mechanistic Design.

Detailed Design.







5. Requirements Analysis of Real-Time Systems.

Terms and Concepts.

Use Cases.

Messages and Events.

Scenarios, Protocols, and State Machines.

Use Cases.

Use Case Relations.

Use Case Example: Air Traffic Control System.

External Events.

Context-Level Messages.

Specifying External Messages.

External Event List.

Response Time.

Detailing Use Case Behavior.

Informal Textual Description.


Sequence Diagrams.

Statecharts for Defining Use Case Behavior.

Identifying Use Cases.

Using Use Cases.

Heuristics for Good Requirements Analysis Diagrams.

Use Case Diagram Heuristics.

Use Case Heuristics.

Use Case Sequence Diagram Heuristics.

6. Structural Object Analysis.

Terms and Concepts.

Key Strategies for Object Identification.

Underline the Noun.

Identify Causal Agents.

Identify Coherent Services.

Identify Real-World Items.

Identify Physical Devices.

Identify Essential Abstractions of Domains.

Identify Transactions.

Identify Persistent Information.

Identify Visual Elements.

Identify Control Elements.

Execute Scenarios on the Object Model.

Reification of Objects into Classes.

Identify Object Associations.


Associations and Links.

Aggregation and Composition.

Object Attributes.

Generalization Relationships.

AATCS Example: Class Diagrams.

Heuristics for Good Class Diagrams.

Rules for Good Class Diagrams.

7. Object Behavioral Analysis.

Terms and Concepts.

Simple Behavior.

State Behavior.

Continuous Behavior.

UML Statecharts.

Basic State Semantics.

Transitions and Events.

Actions and Activities.


Orthogonal Regions and Synchronization.

Basic Statechart Syntax.

Inherited State Models.

Ill-formed State Models.

Example: AATCS Alarm System.

The Role of Scenarios in the Definition of Behavior.

Timing Diagrams.

Sequence Diagrams.

Activity Diagrams.

Defining Operations.

Types of Operations.

Strategies for Defining Operations.

Statechart Heuristics.

Timing Diagram Heuristics.

Activity Diagram Heuristics.


8. Architectural Design.

Terms and Concepts.

Tasking Model.

Representing Tasks.

Defining Task Threads.

Assigning Objects to Tasks.

Defining Task Rendezvous.

Component Model.

Deployment Model.

Representing Physical Architecture in the UML.

Multiprocessor Systems.

Safety/Reliability Model.

9. Mechanistic Design.

Terms and Concepts.

Design Pattern Basics.

Mechanistic Design Patterns.

Correctness Patterns.

Execution Control Patterns.

10. Detailed Design.

Introduction to Detailed Design.

Terms and Concepts.

Data Structure.

Primitive Representational Types.

Subrange Constraints.

Derived Attributes.

Data Collection Structure.


The Object Interface.

Definition of Operations.

Detailed Algorithmic Design.

Representing Algorithms in the UML.

Algorithmic Example: Run-Time Data Interpolation.


Source Language-based Exception Handling.

State-based Exception Handling.


11. Threads and Schedulability.

Terms and Concepts.

Time-Based Systems.

Reactive Systems.

Time Concepts.

Scheduling Threads.

Rate Monotonic Scheduling.

Earliest Deadline Scheduling.

Least Laxity Dynamic Scheduling.

Maximum Urgency First Scheduling.

Weighted Shortest Processing Time First (WSPTF) Scheduling.

Minimizing Maximum Lateness Scheduling.

Thread Synchronization and Resource Sharing.

Mutual Exclusion Semaphore.

Dekker's Algorithm.


Counting Semaphores.

Condition Variables.


Rendezvous Objects.

Schedulability Analysis of Hard Real-Time Systems.

Global Analysis.

Global Method with Blocking.

Computing Blocking.

Separate Task Utilization Bounds.

Aperiodic Tasks.

Schedulability Analysis of Soft Real-Time Systems.

Warm and Fuzzy: Timeliness in the Soft Context.

Soft Schedulability.

12. Dynamic Modeling.

Terms and Concepts.

But is it the Right State Machine?

Behavioral Patterns.

Latch State Pattern.

Polling State Pattern.

Latched Data Pattern.

Device Mode State Pattern.

Transaction State Pattern.

Component Synchronization State Pattern.

Barrier State Pattern.

Event Hierarchy State Pattern.

Random State Pattern.

Null State Pattern.

Watchdog State Pattern.

Retriggerable Counter State Pattern.

Model-Level Debugging and Testing.

Animated Debugging.

Animated Testing.

Sample Debugging Session.

13. Real-Time Frameworks.

Terms and Concepts.

Real-Time Frameworks.

Architectural Support Patterns.

Safety and Reliability Patterns.

Behavioral Patterns.

Framework Design Principles and Metrics.

Set of Services.

Generalization Hierarchy Structure.

Replaceable Components.


Naming and Syntax Conventions.


The Rhapsody Object Execution Framework (OXF).

Rhapsody Architecture.

Execution Framework.

Interobject Association Patterns.

Using C++ Standard Template Library.

Abstract Operating System.

Animation Framework.

Sample Application Using the Rhapsody OXF Framework.

Appendix A: UML Notation Summary.

Appendix B: Introduction to Rhapsody.

Appendix C: Introduction to Timewiz.


CD-ROM Warranty. 0201498375T04062001

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)