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 8:08

sadly freebsd doesn't seem to have an interface to set or get cpu affinity right now. i hope someone is working on it because this is embarressing if slowlaris and linsux have it.

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