resume_monitor (Fam::Connection)

    /*
     * Resume (start monitoring) a monitor request.
     *
     * Raises a Fam::Error exception if the monitor request could not be
     * resumed.
     *
     * Aliases:
     *   Fam::Connection#resume
     *
     * Examples:
     *   fam.resume_monitor req
     *   fam.resume req
     *
     */
    static VALUE fam_conn_resume(VALUE self, VALUE request)
    {
      FAMConnection *conn;
      FAMRequest *req;
      int err;

      Data_Get_Struct(self, FAMConnection, conn);
      Data_Get_Struct(request, FAMRequest, req);
      err = FAMResumeMonitor(conn, req);

      if (err == -1) {
        rb_raise(eError, "Couldn't resume monitor request %d: %s",
                 FAMREQUEST_GETREQNUM(req), fam_error());
      }

      return self;
    }