Skip to content

Commit

Permalink
Update README with context around thread safety
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 committed Mar 19, 2019
1 parent a81a96e commit 99aa1cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
@@ -1,7 +1,12 @@
# bigqueue [![Build Status](https://travis-ci.com/grandecola/bigqueue.svg?branch=master)](https://travis-ci.com/grandecola/bigqueue) [![Go Report Card](https://goreportcard.com/badge/github.com/grandecola/bigqueue)](https://goreportcard.com/report/github.com/grandecola/bigqueue) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT) [![GoDoc](https://godoc.org/github.com/grandecola/bigqueue?status.svg)](https://godoc.org/github.com/grandecola/bigqueue) [![codecov](https://codecov.io/gh/grandecola/bigqueue/branch/master/graph/badge.svg)](https://codecov.io/gh/grandecola/bigqueue) [![golangci](https://golangci.com/badges/github.com/grandecola/bigqueue.svg)](https://golangci.com/r/github.com/grandecola/bigqueue)

`bigqueue` provides embedded, fast and persistent queue written
in pure Go using memory mapped (`mmap`) files.
in pure Go using memory mapped (`mmap`) files. `bigqueue` is
currently **not** thread safe. Check out the roadmap for
[v0.3.0](https://github.com/grandecola/bigqueue/milestone/4)
for more details on progress on thread safety. To use `bigqueue`
in parallel context, a **Write** lock needs to be acquired
(even for `Read` APIs).

## Installation
```
Expand Down
4 changes: 3 additions & 1 deletion doc.go
@@ -1,5 +1,7 @@
// Package bigqueue provides embedded, fast and persistent queue
// written in pure Go using memory mapped file
// written in pure Go using memory mapped file. bigqueue is
// currently not thread safe. To use bigqueue in parallel context,
// a Write lock needs to be acquired (even for Read APIs).
//
// Create or open a bigqueue:
//
Expand Down

0 comments on commit 99aa1cf

Please sign in to comment.