nsrunloop example

Signed-off-by: john <shiqiang124@gmail.com>