[PATCH v2 1/5] server: Update both shared input at once in assign_thread_input.