home | list info | list archive | date index | thread index

the variations for threads programming in C/linux

  been a while since i've had to do any linux threads programming, and
a client has asked if i can do a 1-day course on that, and wanted to
know what the options are.

  from memory, i recall (and i could be entirely off-base here), there
are three main options:

  1) full POSIX threads (#include <pthread.h>)
  2) C11 threads library (#include <threads.h>)
  3) openMP (if installed, #include <omp.h>)

i've played with the first two options, and done nothing with openMP.

  is this pretty much the landscape? are there other solutions i
should consider for completeness? i'm not looking for anyone to give
me tutorials, just wondering if the above is an adequately
comprehensive introduction.

rday

p.s. if there are any online tutorials/courses for any of the above,
links would be appreciated. otherwise, i'm pretty sure it would not be
hard to collect bits and pieces and put together something myself.
given only one day, it would be difficult to cover the more advanced
features.

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org