Top "Queue" questions

A queue is an ordered, first-in-first-out data structure.

Does an optimistic lock-free FIFO queue implementation exist?

Is there any C++ implementation (source codes) of "optmistic approach to lock-free FIFO queues" algorithm?

c++ multithreading queue lock-free fifo
Producer-Consumer waiting when queue is empty?

I have a list of work items that need to be processed in order. Sometimes the list will be empty, …

c# queue task producer-consumer
Android: intentservice, how abort or skip a task in the handleintent queue

i have an activity ("ApplicationActivity") that call an intent service ("DownloadService") The intentService download files from internet in background, but …

android android-intent queue android-intentservice
Tensorflow, train_step feed incorrect

I am switching from convnetjs to tensorflow and am tying to get the basics of reading images and training a …

image queue tensorflow training-data
C# Queue or ServiceBus with no dependencies?

Is there a product (ideally open source, but not necessary), that would enable a zero dependency deployment? every service bus …

c# queue servicebus
how to print the element at front of a queue python 3?

import queue q = queue.Queue() q.put(5) q.put(7) print(q.get()) removes the element at front of the queue. …

python python-3.x syntax queue python-collections
How to prevent SlideToggle function queue?

Case: Jquery code manage a sliding EM tag (with slideToggle function) for its appearing on hover. Problem: The slideToggle sometimes …

jquery queue overflow slide
Which is better LinkedBlockingQueue unbounded or LinkedBlockingQueue with capacity

I am using LinkedBlockingQueue as workqueue in ThreadPoolExecutor. Problem is shall i use bounded LinkedBlockingQueue or unbounded LinkedBlockingQueue. I have …

java multithreading queue threadpoolexecutor
How to implement a queue of runnables

I am trying to implement a queue of runnables to be executed one after another(meaning the next in the …

java android queue runnable
How do you design FIFO queue with variable data size?

I'm just working on the FIFO queue (the simple one, just what's pushed first, pops at first) with the variable …

delphi queue delphi-2007 fifo memory-efficient