* add end-to-end example for running chronos in a thread * `NimMain` must be called once to init runtime * shared memory updates