Real-Time Embedded Multithreading contains the fundamentals of developing real-time operating systems and multithreading with all the new functionality of ThreadX Version 5. This MIPS edition covers all the new ThreadX 5 features including Real-Time Event-Chaining, Run-Time Performance Metrics, and Run-Time Statck Analysis as specified for MIPS. ThreadX has been deployed in approximately 500 million devices worldwide including cell phones, digital cameras, and laser printers. General concepts and terminology are detailed along with problem solving of common pitfalls.
In this chapter, we introduce many concepts associated with multithreaded computer systems, including a discussion of the APIs for the Pthreads, Windows, and Java thread libraries. We look at a number of issues related to multithreaded programming and its effect on the design of operating systems. Finally, we explore how the Windows and Linux operating systems support threads at the kernel level.
Multitasking provides process and memory management services that allow two or more tasks, jobs, or programs to run simultaneously
Within a single program, multithreading allows multiple parts, or threads, to run simultaneously
An operating system’s multiprocessing capability supports a division of labor among all the processing units
In this chapter you will learn: To introduce the notion of a thread a fundamental unit of CPU utilization that forms the basis of multithreaded computer systems; to discuss the APIs for the Pthreads, Windows, and Java thread libraries; to explore several strategies that provide implicit threading; to examine issues related to multithreaded programming; to cover operating system support for threads in Windows and Linux.
The process model introduced in Chapter 4 assumed that a process was an executing program with a single thread of control. Many modern operating systems now provide features for a process to contain multiple threads of control. This chapter introduces many concepts associated with multithreaded computer systems and covers how to use Java to create and manipulate threads. We have found it especially useful to discuss how a Java thread maps to the thread model of the host operating system.
Generally speaking, direct assembly
coding can outperform the use of intrinsics. Nevertheless,
for fairness of comparison with algorithms coded in C,we
use the provided intrinsics.
Our experimental results use single precision 32-bit ﬂoat-
ing point values as the element data type, unless otherwise
mentioned. Since SSE and SSE2 registers are 128 bits, this
choice means that S = 4. Our Pentium4 machine runs at 1.8
GHz, has 1GB of Rambus RDRAM, and uses the RedHat
Linux 7.1 operating system. We use Intel's C++ compiler
with the highest optimization level.
Silverlight is a framework for building rich, browser-hosted applications that run on a variety of
operating systems. Silverlight works its magic through a browser plug-in. When you surf to a web page
that includes Silverlight content, this browser plug-in runs, executes the code, and renders that content
in a specifically designated region of the page. The important part is that the Silverlight plug-in provides