summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/exception.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-03-19 14:24:18 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-03-21 19:20:21 -0400
commit407dc917f170cc9d08f3f1f9bdeb9e44ddebc653 (patch)
tree6275a084c767fd96e4d9ccbedc117d3fb43b7e68 /src/shader_recompiler/exception.h
parent15d573194c95b95ccf4a5480d8e40a7765a00929 (diff)
bounded_threadsafe_queue: Deduplicate and add PushModes
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.
Diffstat (limited to 'src/shader_recompiler/exception.h')
0 files changed, 0 insertions, 0 deletions