Is there any way to assign a process to run only on 1 processor on a multi-core system by setting an affinity mask?

/ Ingemar