Skip to content

daurnimator/fifo.lua

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

A lua library/'class' that implements a FIFO. Objects in the fifo can be of any type, including nil.

Compatible with Lua 5.1, 5.2, 5.3, 5.4 and LuaJIT

Status

This project has been used in production since 2012.

Build Status Coverage Status

Documentation

Please see the doc/ folder.

You can generate a man page using pandoc:

pandoc doc/index.md -s -t man -o /usr/local/share/man/man3/fifo.lua.3

Installation

Available via luarocks: luarocks install fifo

Alternatively, you may just copy fifo.lua to your own project.

Tests

You will need

Run busted -c to run tests You can then generate a coverage report by running luacov (it will write the report to luacov.report.out)

History

This was previously a component of lomp but was useful enough in other projects that I split it out.

About

Fifo library for Lua

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages