[PATCH 1/3] server: Create message queue and thread input in set_key_state.