<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mark_pausing(self):
 """Requests that the service move to the Paused state, without waiting for it to do so. Raises if the service is not currently in the Running state. """

    with self._lock:
      self._set_state(self._PAUSING, self._RUNNING)