Is there any way to force all system processes and threads to use a single processor core?

 

I know I can use ‘on’ to set the runmask of a particular process and I can use ThreadCtl( _NTO_TCTL_RUNMASK_GET_AND_SET_INHERIT.. to bind particular threads. But is there any way to bind all process to a single core by default, preferably at boot time.

 

My aim is to get all the system tasks and drivers to run on one processor core, leaving the other cores free to run our real-time tasks.  Note I DO want to use the all the processor cores, just I want to use of all but one of the cores exclusively for our application code. Currently I can see our application code is being interrupted by the system threads.

 

Thanks

Alastair

--------------------------------------------------------------------------------------------------
This email and any attachments are confidential and are for the use of the
addressee only. If you are not the addressee, you must not use or disclose the
contents to any other person. Please immediately notify the sender and
delete the email. Statements and opinions expressed here may not
represent those of the company. Email correspondence is monitored by
the company. This information may be subject to export control
regulation. You are obliged to comply with such regulations.

Renishaw plc (company number 1106260) and Wotton Travel Limited (company
number 01973158) are companies registered in England and Wales with a registered office
at New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR,
United Kingdom, Telephone +44 1453 524524.
--------------------------------------------------------------------------------------------------