linked-list-queue icon indicating copy to clipboard operation
linked-list-queue copied to clipboard

A simple queue using a linked list written in C under the BSD license.

How does it work?


char* obj = strdup("test");

void *q = llqueue_new();

llqueue_offer(q, obj);

printf("object from queue: %s\n", llqueue_poll(q));

Building

$make

Todo

  • Make lockfree variant using CAS