Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

execute thread on specific cpu

Name: Anonymous 2009-06-01 4:42

in a POSIX system, is there a way to execute a thread on a specific cpu and then also have this reported to the program, which cpu core it's executing on?

i'm doing this for an example application to demonstrate multi core and multi cpu systems for someone so this is nothing live or ENTERPRISE GRADE, just for fun and research.

i've seen some posts online about winlauncher being able to do this with affinity on windows. but what about posix systems? i'm using freebsd specifically.

Name: Anonymous 2009-06-01 4:53

i can't watch jewt00b from work but thanks for your help.

XAAARRRNN!!!!11111

and before someone says he's at work so don't help him to his job. i work at a callcentre, this is far beyond my job. but today is a danish holiday so i have been at work for 2.5 hours without any calls yet.

thank god i have my laptop with me.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List