Shared memory programming with OpenMP

Processes and threads

  • Process: an instance of a running (or suspended) program
  • Thread: a “light-weight” process

POSIX Threads

  • also known as Pthreads
  • standard for unix-like OS’s (can be linked with C programs)

Note

The rest of the lecture was spent showing real code examples, not posted/available (though, he said it was just AI generated code)