基于共享内存分布式程序设计技术.ppt

Parallel and Distributed Systems Instructor: Zhang Weizhe (张伟哲) Computer Network and Information Security Technique Research Center , School of Computer Science and Technology, Harbin Institute of Technology Programming Shared Address Space Platforms What is a thread? A thread is an independent sequence of execution of program code inside a UNIX process A thread is often called a lightweight process – but it is NOT a process (something smaller than a process) Why Threads? Do concurrent control more efficiently Use fork() to create a process: is expensive, usually the child process need copy

文档评论(0)

1亿VIP精品文档

相关文档