1. 05 Jun, 2015 38 commits
  2. 04 Jun, 2015 2 commits
    • Rémi Denis-Courmont's avatar
      input: deprecate b_dead, b_eof and b_error · 729addda
      Rémi Denis-Courmont authored
      Those values are writable by the input thread, and thus inaccessible
      to other threads. Any remaining use of those (in VLM, podcast and
      interfaces notably) is an undefined memory access, a bug.
      729addda
    • Rémi Denis-Courmont's avatar
      gui: remove useless checks for input_thread_t.b_dead and b_eof · eb4eb478
      Rémi Denis-Courmont authored
      The input thread sends events. There is no point in checking manually
      since the input thread functions aresafe to "use" so long as the caller
      has a reference to the input thread (regardless of the input thread
      being dead or at EOF). Also the value of those flags can change
      asynchronously (outside the input thread) so the checks were racy.
      eb4eb478