support reload
change ts_lua_atomic_increment to __sync_fetch_and_add