Added XINU threading to cycledemo