Sign In
Scalability Notes
[Read -> Think -> Write]
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
database
distributed system
engineering
hpc
network
parallel
scalability
search
Archive
Archives
December 2010
(1)
September 2010
(1)
August 2010
(1)
April 2010
(1)
February 2010
(2)
January 2010
(4)
December 2009
(1)
November 2009
(1)
October 2009
(1)
September 2009
(1)
August 2009
(4)
June 2009
(2)
May 2009
(1)
April 2009
(1)
March 2009
(2)
February 2009
(4)
January 2009
(1)
Parallel Programming - Using POSIX Threads
MSDN Blogs
>
Scalability Notes
>
Parallel Programming - Using POSIX Threads
Parallel Programming - Using POSIX Threads
changl
3 Jan 2010 1:52 AM
Comments
0
Parallel Programming - Using POSIX Threads
Pthreads
(a.k.a POSIX Threads), is another parallel programming model over
Shared Memory Computers
, which is categorized to
Threads
Based Model (the other is message passing based model).
Pthreads provides Threads by means of pure C style APIs, while OpenMP does it through language compiler directives.
As the Process/Thread concepts are very popular and well understood in today's developing community, I will ignore the basic explanation.
Pthreads APIs can be divided into the following categories:
-
Thread Management
(Create, Destroy, Join, Cancellation, Scheduling, Thread Specific Data and all related attributes)
-
Thread Synchronization
(Mutex, Conditional Variable, Barrier, Reader Writer Lock, Spin Lock and all related attributes)
Pthreads is
an international standard
and is well supported in *nix world. Microsoft Windows has its own threading interface. But there is a famous open source project
Pthreads-Win32
, which targets a Pthreads implementation over Windows Platform.
Multithreading Programming is a very broad topic, this post just aims to give very simple introduction. [3] and [5] are very good hands on tutorials about Pthreads programming.
[
Reference
]
[1]
http://en.wikipedia.org/wiki/POSIX_Threads
[2]
http://sourceware.org/pthreads-win32/
[3]
Pthreads Tutorial by LLNL
[4]
Pthreads Tutorial by IBM
[5]
Pthreads Hands-On Tutorial
[6]
Pthreads Tutorial for Linux Platform
[7]
Pthreads Info Center
0 Comments
parallel
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 6 and 5 and type the answer here:
Post