站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Java Threads, Third Edition

Chapter 2. Thread Creation and Management - Java Threads, Third Edition

Previous Section  < Day Day Up >  Next Section

Chapter 2. Thread Creation and Management

In this chapter, we cover all the basics about threads: what a thread is, how threads are created, and some details about the lifecycle of a thread. If you're new to threading, this chapter gives you all the information you need to create some basic threads. Be aware, however, that we take some shortcuts with our examples in this chapter: it's impossible to write a good threaded program without taking into account the data synchronization issues that we discuss in Chapter 3. This chapter gets you started on understanding how threads work; coupled with the next chapter, you'll have the ability to start using threads in your own Java applications.

    Previous Section  < Day Day Up >  Next Section