Hello,
I'm going to use linux threads for the first time and a bit confused with difference between 3 terms seen while browsing/reading...
"native threads", "posix threads" and "linux threads".
I've a system having quad processors. I want to run a program which creates four threads and runs each one of them on different processor. I'm doing it by setting the "sched_setaffinity".
My question is that how many TYPES of threading options do I have? and what are characteristics of each of them?
I've used posix threads (pthread library functions) currently.
I've heard that the use of native threads will be effective here. Can some one throw some light or point me some material/link for understanding the difference between NATIVE THREADS and POSIX THREADS?
====================================================
which one of the two will have easier sync mechanism (semaphore/mutex)?
Thanks in advance
Tanmay