Search code examples
multicore

How can scatter the code to the core multi-core processor


Interested in: 1) Is it possible to do this in a unix like OS? 2) If it is possible to dig?

I would be happy all the answers.


Solution

  • Either create multiple processes (e.g., fork) or multiple threads (e.g., pthread_create).