Skip to content
  1. Mar 28, 2023
  2. Mar 27, 2023
  3. Mar 26, 2023
  4. Mar 25, 2023
  5. Mar 24, 2023
  6. Mar 23, 2023
  7. Mar 22, 2023
  8. Mar 21, 2023
    • Morph's avatar
      bounded_threadsafe_queue: Deduplicate and add PushModes · 407dc917
      Morph authored
      Adds the PushModes Try and Wait to allow producers to specify how they want to push their data to the queue if the queue is full.
      If the queue is full:
      - Try will fail to push to the queue, returning false. Try only returns true if it successfully pushes to the queue. This may result in items not being pushed into the queue.
      - Wait will wait until a slot is available to push to the queue, resulting in potential for deadlock if a consumer is not running.
      407dc917
Loading