Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Phần cứng
Parallel Programming: for Multicore and Cluster Systems- P31
Đang chuẩn bị liên kết để tải về tài liệu:
Parallel Programming: for Multicore and Cluster Systems- P31
Trang Anh
42
10
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Parallel Programming: for Multicore and Cluster Systems- P31: Innovations in hardware architecture, like hyper-threading or multicore processors, mean that parallel computing resources are available for inexpensive desktop computers. In only a few years, many standard software products will be based on concepts of parallel programming implemented on such hardware, and the range of applications will be much broader than that of scientific computing, up to now the main application area for parallel computing | 292 6 Thread Programming int pthread_attr_init pthread_attr_t attr . This leads to an initialization with the default attributes corresponding to the default characteristics. By changing an attribute value the characteristics can be changed. Pthreads provide attributes to influence the return value of threads setting the size and address of the runtime stack or the cancellation behavior of the thread. For each attribute Pthreads define functions to get and set the current attribute value. But Pthreads implementations are not required to support the modification of all attributes. In the following the most important aspects are described. 6.1.9.1 Return Value An important property of a thread is its behavior concerning thread termination. This is captured by the attribute detachstate. This attribute can be influenced by all Pthreads libraries. By default the runtime system assumes that the return value of a thread T1 may be used by another thread after the termination of T1. Therefore the internal data structure maintained for a thread will be kept by the runtime system after the termination of a thread until another thread retrieves the return value using pthread_join see Sect. 6.1.1. Thus a thread may bind resources even after its termination. This can be avoided if the programmer knows in advance that the return value of a thread will not be needed. If so the thread can be generated such that its resources are immediately returned to the runtime system after its termination. This can be achieved by changing the detachstate attribute. The following two functions are provided to get or set this attribute value int pthread_attr_getdetachstate const pthread_attr_t attr int detachstate int pthread_attr_setdetachstate pthread_attr_t attr int detachstate . The attribute value detachstate PTHREAD_CREATE_JOINABLE means that the return value of the thread is kept until it is joined by another thread. The attribute value detachstate PTHREAD_CREATE_DETACHED means that the .
TÀI LIỆU LIÊN QUAN
Introduction to Parallel Computing (Second edition): Part 1
Parallel Programming in C with MPI and OpenMP: Part 1 - Michael J. Quinn
Parallel Processing & Distributed Systems: Lecture 8 - Thoai Nam, Tran Vu Pham
Introduction to Parallel Computing (Second edition): Part 2
Parallel Programming in C with MPI and OpenMP: Part 2 - Michael J. Quinn
Parallel Port Complete: Programming, Interfacing, & Using the PC's Parallel Printer Port
Implementing gene expression programming in the parallel environment for big datasets classication
Programming the Parallel Port
Pro .NET 4 Parallel Programming in C#
parallel programming with microsoft visual c
crossorigin="anonymous">
Đã 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.