Skip to content

Instantly share code, notes, and snippets.

View wangjiyang's full-sized avatar

OliverWang wangjiyang

View GitHub Profile
@wangjiyang
wangjiyang / fifo_q.h
Created March 13, 2017 04:34 — forked from gburd/fifo_q.h
A (well tested) ANSI C macro-based implementation of a bounded FIFO Queue. h/t QuviQ
/*
* fifo_q: a macro-based implementation of a FIFO Queue
*
* Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved.
* Author: Gregory Burd <greg@basho.com> <greg@burd.me>
*
* This file is provided to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain
* a copy of the License at