If I write a multithread program with pthreads on a Linux platform, do I have to expect threads run parallel on the two cores automatically (of course as long as there are not threads waiting for others or for events like I/O) or is there some probability that they run on one core only unless I use some directive or whatever??
Thank you