jagomart
digital resources
picture1_Class Pthreads


 134x       Filetype PDF       File size 0.17 MB       Source: webpages.charlotte.edu


File: Class Pthreads
threading in unix erik saule esaule uncc edu parallel computing 09 12 2018 erik saule par prog pthreads 09 12 2018 1 27 the assignment will ask you to write ...

icon picture PDF Filetype PDF | Posted on 03 Feb 2023 | 2 years ago
Partial capture of text on file.
                                        Threading in UNIX
                                                  Erik Saule
                                            esaule@uncc.edu
                                               Parallel Computing
                                                 09/12/2018
          Erik Saule (Par Prog)                       pthreads                                09/12/2018    1 / 27
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              The assignment will ask you to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Write a static loop based scheduler
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Write a dynamic loop based scheduler
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Show overhead associated with thread management and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    synchronization
   Learning Outcomes
    At the end of this lecture, you will be able to
           Write a simple program that uses threads
           Give one example of data race
           Be able to achieve mutual exclusion
           Give one code example that deadlocks
           Name Coffman’s four conditions for deadlocking
           Name one complex synchronization primitive
          Erik Saule (Par Prog)                       pthreads                                09/12/2018    2 / 27
   Learning Outcomes
    At the end of this lecture, you will be able to
           Write a simple program that uses threads
           Give one example of data race
           Be able to achieve mutual exclusion
           Give one code example that deadlocks
           Name Coffman’s four conditions for deadlocking
           Name one complex synchronization primitive
    The assignment will ask you to
           Write a static loop based scheduler
           Write a dynamic loop based scheduler
           Show overhead associated with thread management and
           synchronization
          Erik Saule (Par Prog)                       pthreads                                09/12/2018    2 / 27
   Outline
    1   Basic threading
    2   Data races, mutual exclusion, and deadlocks
    3   Assignment: implementing a loop scheduler in pthread
    4   Advanced synchronization
    5   Further
          Erik Saule (Par Prog)                       pthreads                                09/12/2018    3 / 27
The words contained in this file might help you see if this file matches what you are looking for:

...Threading in unix erik saule esaule uncc edu parallel computing par prog pthreads the assignment will ask you to write a static loop based scheduler dynamic show overhead associated with thread management and synchronization learning outcomes at end of this lecture be able simple program that uses threads give one example data race achieve mutual exclusion code deadlocks name coman s four conditions for deadlocking complex primitive outline basic races implementing pthread advanced further...

no reviews yet
Please Login to review.