[] a simple routine to create threads on different cpus.

Signed-off-by: jwli <jwli@grandstream.com>