-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
763 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
nimcache/ | ||
nimblecache/ | ||
|
||
/src/* | ||
/tests/* | ||
/tests/test | ||
/tests/test.dSyM | ||
/examples/* | ||
/htmldocs/* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["nimsaem.nimvscode", "junknet.nimlsp"] | ||
"recommendations": ["NimLang.nimlang"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# lockfreequeues # © Copyright 2020 Elijah Shaw-Rutschman # # See the file "LICENSE", included in this distribution for details about the # copyright. | ||
|
||
type QueueError* = object of CatchableError | ||
type QueueIndexError* = object of QueueError ## \ | ||
## Raised by various comparison ops to indicate an invalid head or tail value. | ||
type NoProducersAvailableError* = object of QueueError ## \ | ||
## Raised by `getProducer()` if all producers have been assigned to othe | ||
type NoConsumersAvailableError* = object of QueueError ## \ | ||
## Raised by `getConsumer()` if all producers have been assigned to other | ||
## threads. | ||
type InvalidCallDefect* = object of Defect ## \ | ||
## Raised by `Mupsic.push()`, `Mupmuc.push()`, and `Mupmuc.pop()` because | ||
## those should happen via `Producer.push()` or `Consumer.pop()`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.