jackfirth / racket-disposable

An experimental Racket library providing an abstraction for values associated with external resources that allows automatic resource pooling, per-thread virtual construction, and monadic composition
Apache License 2.0
7 stars 0 forks source link

Reimplement atomic boxes #88

Closed jackfirth closed 7 years ago

jackfirth commented 7 years ago

New implementation doesn’t do everything in terms of call/atomic. This way writing a value doesn’t need to send a response over a channel, and reading a value doesn’t need to interact with the manager thread at all.

Closes #86

codecov[bot] commented 7 years ago

Codecov Report

Merging #88 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #88   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          15     15           
  Lines         836    871   +35     
=====================================
+ Hits          836    871   +35
Impacted Files Coverage Δ
disposable/testing.rkt 100% <100%> (ø) :arrow_up:
disposable/private/pool.rkt 100% <100%> (ø) :arrow_up:
disposable/private/atomic-box.rkt 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c805208...2cdf3be. Read the comment docs.