1. Mar 16, 2019
    • Alberto Miranda's avatar
      Remove task descriptors when tasks complete · e14e29a6
      Alberto Miranda authored
      Calling norns(ctl)?_error() to query the status of a running task will
      release its descriptor in the server if the task already completed
      (NORNS_EFINISHED or NORNS_EFINISHEDWERROR). Since norns(ctl)?_wait()
      internally queries the task status to check whether a task has
      completed, we cache the retrieved task_status into the iotask_t user
      descriptor so that it can be retrieved by a subsequent
      norns(ctl)?_error() call.
      e14e29a6
    • Alberto Miranda's avatar
      Merge branch... · db83cc35
      Alberto Miranda authored
      Merge branch '28-norns_wait-nornsctl_wait-should-accept-a-second-parameter-to-specify-a-timeout' into 'master'
      
      Resolve "norns_wait()/nornsctl_wait() should accept a second parameter to specify a timeout"
      
      Closes #28
      
      See merge request !12
      db83cc35
    • Alberto Miranda's avatar
      Update tests with new API · 18708495
      Alberto Miranda authored
      18708495
    • Alberto Miranda's avatar
      Add timeout parameter to waiting functions · c484573c
      Alberto Miranda authored
      Functions norns_wait() and nornsctl_wait() now accept an optional
      const struct timespec *timeout (see nanosleep(2)) to allow users
      to suspend the calling thread until one of the following occurs:
      
      * A signal is delivered and the task has already completed.
      * The specified time interval has already passed.
      
      If timeout is NULL, the functions will suspend the thread for
      a predefined amount of time and query the server upon waking up.
      
      Note that since the server does not allow registering listeners at the
      moment, the thread will wake only when one of the aforementioned
      conditions has occurred, even if the task of interest has already finished.
      c484573c
    • Alberto Miranda's avatar
      Merge branch '27-spurious-segfaults-with-libtar' into 'master' · 8fe820ad
      Alberto Miranda authored
      Resolve "Spurious SEGFAULTs with libtar"
      
      Closes #27
      
      See merge request !11
      8fe820ad
    • Alberto Miranda's avatar
      Remove sanitize flags · 637c63fa
      Alberto Miranda authored
      637c63fa
    • Alberto Miranda's avatar
      Replace buggy libtar with libarchive · 7afab50a
      Alberto Miranda authored
      7afab50a
    • Alberto Miranda's avatar
      Update hermes · 6236e1fe
      Alberto Miranda authored
      6236e1fe
  2. Mar 12, 2019
  3. Mar 11, 2019
  4. Mar 08, 2019
  5. Mar 07, 2019
  6. Mar 06, 2019
  7. Mar 04, 2019