Add a tool for testing various IPC methods
Change-Id: I2fc2e641cee4d26b9ec865f4d7555036def3abfd
diff --git a/aos/linux_code/init.h b/aos/linux_code/init.h
index 9b0c3d6..e069b83 100644
--- a/aos/linux_code/init.h
+++ b/aos/linux_code/init.h
@@ -30,6 +30,9 @@
// Sets the current thread's realtime priority.
void SetCurrentThreadRealtimePriority(int priority);
+// Pins the current thread to CPU #number.
+void PinCurrentThreadToCPU(int number);
+
// Sets the name of the current thread.
// This will displayed by `top -H`, dump_rtprio, and show up in logs.
// name can have a maximum of 16 characters.