sched_setaffinity() will do it Ali
Sent from my ARM powered device On Jun 9, 2011, at 5:15 AM, Hamid Reza Khaleghzadeh <khaleghza...@gmail.com> wrote: > Hi all, > > I want to bind a thread to a certain CPU where this thread is only run on the > certain CPU (can not be migrated else I want to migrate it), and there are > not any thread interferences (any threads can not be mapped to that CPU). > Could you tell me how I can do it? Do I use pset_bind or processor_bind? > > Thanks for your answer in advance > _______________________________________________ > gem5-users mailing list > gem5-users@m5sim.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users