Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit 0ef5835

Browse files
committed
Merge pull request #10 from rranelli/fix-paragraph-in-AtomicReferenceCacheBackend-doc
Fix Paragraph in AtomicReferenceCacheBackend doc
2 parents 0f96019 + 446dec8 commit 0ef5835

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/thread_safe/atomic_reference_cache_backend.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module ThreadSafe
4444
# exactly the same +hash+ is a sure way to slow down performance of any hash
4545
# table.
4646
#
47-
# == Design overview
47+
# ## Design overview
4848
#
4949
# The primary design goal of this hash table is to maintain concurrent
5050
# readability (typically method +[]+, but also iteration and related methods)

lib/thread_safe/util/volatile.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
module ThreadSafe
22
module Util
33
module Volatile
4-
# Provides +volatile+ (in the JVM's sense) attribute accessors implemented atop of the +AtomicReference+s.
4+
# Provides +volatile+ (in the JVM's sense) attribute accessors implemented
5+
# atop of the +AtomicReference+s.
6+
#
57
# Usage:
68
# class Foo
79
# extend ThreadSafe::Util::Volatile

0 commit comments

Comments
 (0)