UnQLite Users Forum

How to use Unqlite as FIFO queue?

append delete L

How can I use Unqlite to implement FIFO queue, thread safe?
There can be many threads popping from the queue, and pushing into the queue. Each object in the queue is a string.

Reply RSS


append delete #1. chm

Refer to the cursor interfaces for additional information. http://unqlite.org/c_api/unqlite_kv_cursor.html


(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: chm_at_symisc, devel_at_symisc