Skip to content

Commit

Permalink
Update README and fix CI (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Warnicke <[email protected]>
  • Loading branch information
edwarnicke authored Jul 5, 2020
1 parent aafc6ff commit ebc4308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,3 @@ issues:
exclude-use-default: false
max-issues-per-linter: 0
max-same-issues: 0

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Intro
## Ordered, Exclusive, Easy

There are lots of instances in which you want to insure that a series of executions have the properties of:
Ensure that a series of executions have the properties of:

1. Exclusivity: One at a time execution
2. Order: Execution happens in first in, first out (FIFO) order
Expand All @@ -24,7 +24,7 @@ will add ```func(){...}``` to an ordered queue (first in, first out (FIFO)) to b

### Comparison to sync.Mutex

```sync.Mutex``` guarantees exclusivity, but not order. For this reason it is often used synchronously to insure ordering.
```sync.Mutex``` guarantees exclusivity, but not order. For this reason it is often used synchronously to ensure ordering.
```serialize.Executor``` guarantees both exclusivity and order, allowing asynchronous use.

## Uses
Expand Down

0 comments on commit ebc4308

Please sign in to comment.