TAILIEUCHUNG - Introduction to java programming: Chapter 24 - Multithreading

Introduction to java programming: Chapter 24 - Multithreading's Objectives is to understand the concept of multithreading and apply it to develop animation; develop task classes by implementing the Runnable interface in cases of multiple inheritance; create threads to run tasks using the Thread class; control animations using threads. | Chapter 24 Multithreading Chapter 16 Applets and Multimedia Chapter 24 Multithreading Chapter 18 Binary I O Chapter 25 Networking Chapter 16 Applets and Multimedia Chapter 26 Internationalization Liang Introduction to Java Programming Sixth Edition c 2005 Pearson Education Inc. All rights reserved. 0-13-148952-6 1 Objectives To understand the concept of multithreading and apply it to develop animation . To develop task classes by implementing the Runnable interface in cases of multiple inheritance . To create threads to run tasks using the Thread class . To control animations using threads . To run code in the event dispatcher thread . To execute tasks in a thread pool . To use synchronized methods or block to synchronize threads to avoid race conditions . To synchronize threads using locks . To facilitate thread communications using conditions on locks . To use blocking queues to synchronize access to an array queue linked queue and priority queue Optional . To restrict number of accesses to a shared resource using semaphores Optional . To use the resource ordering technique to avoid deadlock . To understand the life cycle of a thread . To create synchronized collections using the static methods in the Collections class . - - - - To display the completion status of a task using JProgressBar Optional . Liang Introduction to Java Programming Sixth Edition c 2005 Pearson Education Inc. All 2 rights reserved. 0-13-148952-6 2 Threads Concept Multiple threads on multiple CPUs Multiple threads sharing a single CPU Liang Introduction to Java Programming Sixth Edition c 2005 Pearson Education Inc. All rights reserved. 0-13-148952-6

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.