apps/system/taskset: Add taskset command for SMP systems
This command can be used to retrieve or set a process's CPU affinity.
For example,
nsh> taskset -p 4
pid 4's current affinity mask: 2
nsh> taskset -p 3 4
pid 4's current affinity mask: 3
nsh> taskset -p 1 busyloop &
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>