From 8e99b930e7f4405cc76af9893958455458d90649 Mon Sep 17 00:00:00 2001 From: Petr Chalupa Date: Wed, 29 Aug 2018 22:21:46 +0200 Subject: [PATCH] Bump version --- .yardopts | 2 +- docs-source/signpost.md | 2 +- docs/1.1.0/Concurrent.html | 10 +- docs/1.1.0/Concurrent/LockFreeStack.html | 1504 ++++++++ docs/1.1.0/Concurrent/LockFreeStack/Node.html | 87 +- docs/1.1.0/Concurrent/Promises.html | 271 ++ .../Promises/AbstractEventFuture.html | 84 +- docs/1.1.0/Concurrent/Promises/Event.html | 42 +- .../Concurrent/Promises/FactoryMethods.html | 289 ++ docs/1.1.0/Concurrent/Promises/Future.html | 168 +- .../Promises/Future/ThrottleIntegration.html | 16 +- .../Concurrent/Promises/ResolvableEvent.html | 12 +- .../Concurrent/Promises/ResolvableFuture.html | 36 +- .../Concurrent/Synchronization/Object.html | 2 +- docs/1.1.0/_index.html | 14 +- docs/1.1.0/class_list.html | 2 +- docs/1.1.0/file.CHANGELOG.html | 2 + docs/1.1.0/file.README.html | 2 +- docs/1.1.0/file.promises.out.html | 4 +- docs/1.1.0/index.html | 2 +- docs/1.1.0/method_list.html | 3218 +++++++++-------- docs/file.signpost.html | 2 +- docs/index.html | 2 +- docs/master/Concurrent.html | 4 +- .../Promises/AbstractEventFuture.html | 84 +- docs/master/Concurrent/Promises/Event.html | 42 +- .../Concurrent/Promises/FactoryMethods.html | 2 +- docs/master/Concurrent/Promises/Future.html | 168 +- .../Promises/Future/ThrottleIntegration.html | 16 +- .../Concurrent/Promises/ResolvableEvent.html | 12 +- .../Concurrent/Promises/ResolvableFuture.html | 36 +- lib/concurrent/version.rb | 4 +- 32 files changed, 4183 insertions(+), 1958 deletions(-) create mode 100644 docs/1.1.0/Concurrent/LockFreeStack.html diff --git a/.yardopts b/.yardopts index 1986dd9d..5cb6ee5b 100644 --- a/.yardopts +++ b/.yardopts @@ -1,4 +1,4 @@ ---use-bundle-exec-rake-yard-instead +--error:" use `bundle exec rake yard` instead" --output-dir tmp -- no-lib diff --git a/docs-source/signpost.md b/docs-source/signpost.md index 7748b94a..5caab847 100644 --- a/docs-source/signpost.md +++ b/docs-source/signpost.md @@ -3,5 +3,5 @@ Pick a version: * [master](./master/index.html) -* [1.1.0.pre1](./1.1.0/index.html) +* [1.1.0.pre2](./1.1.0/index.html) * [1.0.5](./1.0.5/index.html) diff --git a/docs/1.1.0/Concurrent.html b/docs/1.1.0/Concurrent.html index 736464ef..d5aff8c5 100644 --- a/docs/1.1.0/Concurrent.html +++ b/docs/1.1.0/Concurrent.html @@ -248,7 +248,7 @@ shared, mutable, synchronous, independent state. Based on Clojure's A boolean value that can be updated atomically.
  • AtomicFixnum A numeric value that can be updated atomically.
  • -
  • AtomicReference +
  • AtomicReference An object reference that may be updated atomically.
  • Exchanger A synchronization point at which threads can pair and swap elements within pairs. Based on @@ -286,7 +286,7 @@ A lock that supports multiple readers but only one writer.
  • A read/write lock with reentrant and upgrade features.
  • Semaphore A counting-based locking mechanism that uses permits.
  • -
  • AtomicMarkableReference
  • +
  • AtomicMarkableReference
  • Deprecated

    @@ -470,7 +470,7 @@ designed by David Jones. It is Copyri - Classes: Agent, Array, Atom, AtomicBoolean, AtomicFixnum, AtomicMarkableReference, AtomicReference, CachedThreadPool, Cancellation, Channel, ConcurrentUpdateError, CountDownLatch, CyclicBarrier, Delay, Event, Exchanger, FixedThreadPool, Future, Hash, IVar, ImmediateExecutor, IndirectImmediateExecutor, LazyRegister, MVar, Map, Maybe, MultipleAssignmentError, MultipleErrors, ProcessingActor, Promise, ReadWriteLock, ReentrantReadWriteLock, SafeTaskExecutor, ScheduledTask, Semaphore, SerializedExecution, SerializedExecutionDelegator, Set, SimpleExecutorService, SingleThreadExecutor, TVar, ThreadLocalVar, ThreadPoolExecutor, Throttle, TimerSet, TimerTask, Transaction, Tuple + Classes: Agent, Array, Atom, AtomicBoolean, AtomicFixnum, AtomicMarkableReference, AtomicReference, CachedThreadPool, Cancellation, Channel, ConcurrentUpdateError, CountDownLatch, CyclicBarrier, Delay, Event, Exchanger, FixedThreadPool, Future, Hash, IVar, ImmediateExecutor, IndirectImmediateExecutor, LazyRegister, LockFreeStack, MVar, Map, Maybe, MultipleAssignmentError, MultipleErrors, ProcessingActor, Promise, ReadWriteLock, ReentrantReadWriteLock, SafeTaskExecutor, ScheduledTask, Semaphore, SerializedExecution, SerializedExecutionDelegator, Set, SimpleExecutorService, SingleThreadExecutor, TVar, ThreadLocalVar, ThreadPoolExecutor, Throttle, TimerSet, TimerTask, Transaction, Tuple

    @@ -653,12 +653,12 @@ maximum limit/threshold.

    VERSION =
    -
    '1.1.0.pre1'
    +
    '1.1.0.pre2'
    EDGE_VERSION =
    -
    '0.4.0.pre1'
    +
    '0.4.0.pre2'
    NULL_LOGGER =
    diff --git a/docs/1.1.0/Concurrent/LockFreeStack.html b/docs/1.1.0/Concurrent/LockFreeStack.html new file mode 100644 index 00000000..7f9f922d --- /dev/null +++ b/docs/1.1.0/Concurrent/LockFreeStack.html @@ -0,0 +1,1504 @@ + + + + + + + Class: Concurrent::LockFreeStack + + — Concurrent Ruby + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Concurrent::LockFreeStack + + + +

    +
    + +
    +
    Inherits:
    +
    + Synchronization::Object + + + show all + +
    +
    + + + + + + +
    +
    Includes:
    +
    Enumerable
    +
    + + + + + + +
    +
    Defined in:
    +
    lib/concurrent/collection/lock_free_stack.rb
    +
    + +
    + +

    Overview

    +
    + +
    + Note: +

    Edge Features are under active development and may change frequently.

    + +
      +
    • Deprecations are not added before incompatible changes.
    • +
    • Edge version: major is always 0, minor bump means incompatible change, +patch bump means compatible change.
    • +
    • Edge features may also lack tests and documentation.
    • +
    • Features developed in concurrent-ruby-edge are expected to move +to concurrent-ruby when finalised.
    • +
    +
    +
    + + + +
    +
    +
    + + +

    Defined Under Namespace

    +

    + + + + + Classes: Node + + +

    + + +

    + Constant Summary + collapse +

    + +
    + +
    EMPTY = +
    +
    +

    The singleton for empty node

    + + +
    +
    +
    + + +
    +
    +
    Node[nil, nil]
    + +
    + + + + + + + + + +

    + Instance Method Summary + collapse +

    + + + + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(head = EMPTY) ⇒ LockFreeStack + + + + + +

    +
    +

    Returns a new instance of LockFreeStack

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + (defaults to: EMPTY) + + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +49
    +50
    +51
    +52
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 49
    +
    +def initialize(head = EMPTY)
    +  super()
    +  self.head = head
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #cleartrue, false + + + + + +

    +
    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 116
    +
    +def clear
    +  while true
    +    current_head = head
    +    return false if current_head == EMPTY
    +    return true if compare_and_set_head current_head, EMPTY
    +  end
    +end
    +
    +
    + +
    +

    + + #clear_each {|value| ... } ⇒ self + + + + + +

    +
    + + +
    +
    +
    + +

    Yields:

    +
      + +
    • + + + + + + + +

      over the cleared stack

      +
      + +
    • + +
    +

    Yield Parameters:

    +
      + +
    • + + value + + + (Object) + + + +
    • + +
    +

    Returns:

    +
      + +
    • + + + (self) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 140
    +
    +def clear_each(&block)
    +  while true
    +    current_head = head
    +    return self if current_head == EMPTY
    +    if compare_and_set_head current_head, EMPTY
    +      each current_head, &block
    +      return self
    +    end
    +  end
    +end
    +
    +
    + +
    +

    + + #clear_if(head) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +126
    +127
    +128
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 126
    +
    +def clear_if(head)
    +  compare_and_set_head head, EMPTY
    +end
    +
    +
    + +
    +

    + + #compare_and_clear(head) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +97
    +98
    +99
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 97
    +
    +def compare_and_clear(head)
    +  compare_and_set_head head, EMPTY
    +end
    +
    +
    + +
    +

    + + #compare_and_pop(head) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +83
    +84
    +85
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 83
    +
    +def compare_and_pop(head)
    +  compare_and_set_head head, head.next_node
    +end
    +
    +
    + +
    +

    + + #compare_and_push(head, value) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + +
    • + +
    • + + value + + + (Object) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +63
    +64
    +65
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 63
    +
    +def compare_and_push(head, value)
    +  compare_and_set_head head, Node[value, head]
    +end
    +
    +
    + +
    +

    + + #each(head = nil) ⇒ self + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + (defaults to: nil) + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (self) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 105
    +
    +def each(head = nil)
    +  return to_enum(:each, head) unless block_given?
    +  it = head || peek
    +  until it.equal?(EMPTY)
    +    yield it.value
    +    it = it.next_node
    +  end
    +  self
    +end
    +
    +
    + +
    +

    + + #empty?(head = self.head) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + (defaults to: self.head) + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +56
    +57
    +58
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 56
    +
    +def empty?(head = self.head)
    +  head.equal? EMPTY
    +end
    +
    +
    + +
    +

    + + #peekNode + + + + + +

    +
    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Node) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +77
    +78
    +79
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 77
    +
    +def peek
    +  head
    +end
    +
    +
    + +
    +

    + + #popObject + + + + + +

    +
    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +88
    +89
    +90
    +91
    +92
    +93
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 88
    +
    +def pop
    +  while true
    +    current_head = head
    +    return current_head.value if compare_and_set_head current_head, current_head.next_node
    +  end
    +end
    +
    +
    + +
    +

    + + #push(value) ⇒ self + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (self) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +69
    +70
    +71
    +72
    +73
    +74
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 69
    +
    +def push(value)
    +  while true
    +    current_head = head
    +    return self if compare_and_set_head current_head, Node[value, current_head]
    +  end
    +end
    +
    +
    + +
    +

    + + #replace_if(head, new_head) ⇒ true, false + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + head + + + (Node) + + + +
    • + +
    • + + new_head + + + (Node) + + + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (true, false) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +133
    +134
    +135
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 133
    +
    +def replace_if(head, new_head)
    +  compare_and_set_head head, new_head
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + Also known as: + inspect + + + + +

    +
    +

    Returns Short string representation.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +

      Short string representation.

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +152
    +153
    +154
    +
    +
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 152
    +
    +def to_s
    +  format '%s %s>', super[0..-2], to_a.to_s
    +end
    +
    +
    + +
    + +
    + + + + + +
    + + \ No newline at end of file diff --git a/docs/1.1.0/Concurrent/LockFreeStack/Node.html b/docs/1.1.0/Concurrent/LockFreeStack/Node.html index 19ffe789..6b3fb5df 100644 --- a/docs/1.1.0/Concurrent/LockFreeStack/Node.html +++ b/docs/1.1.0/Concurrent/LockFreeStack/Node.html @@ -37,7 +37,7 @@ -
    -

    Direct Known Subclasses

    -

    Empty

    -
    +
    +
    + +
    +
    +
    + + +
    @@ -113,7 +118,7 @@
  • - #next_node ⇒ undocumented + #next_node ⇒ Node @@ -132,8 +137,7 @@ -

    TODO (pitr-ch 20-Dec-2016): Could be unified with Stack class?.

    -
    +
  • @@ -141,7 +145,7 @@
  • - #value ⇒ undocumented + #value ⇒ Object @@ -150,6 +154,8 @@ + readonly + @@ -158,8 +164,7 @@ -

    TODO (pitr-ch 20-Dec-2016): Could be unified with Stack class?.

    -
    +
  • @@ -233,13 +238,13 @@
     
     
    -15
    -16
    -17
    -18
    +21 +22 +23 +24 -
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 15
    +      
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 21
     
     def initialize(value, next_node)
       @value     = value
    @@ -260,7 +265,7 @@
           

    - #next_nodeundocumented (readonly) + #next_nodeNode (readonly) @@ -268,13 +273,25 @@

    -

    TODO (pitr-ch 20-Dec-2016): Could be unified with Stack class?

    - +
    +

    Returns:

    +
      + +
    • + + + (Node) + + + +
    • + +
    @@ -282,12 +299,12 @@
     
     
    -11
     12
    -13
    +13 +14
    -
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 11
    +      
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 12
     
     def next_node
       @next_node
    @@ -302,7 +319,7 @@
           

    - #valueundocumented + #valueObject @@ -310,13 +327,25 @@

    -

    TODO (pitr-ch 20-Dec-2016): Could be unified with Stack class?

    - +
    +

    Returns:

    +
      + +
    • + + + (Object) + + + +
    • + +
    @@ -324,12 +353,12 @@
     
     
    -11
    -12
    -13
    +15 +16 +17 diff --git a/docs/master/Concurrent/Promises/Future.html b/docs/master/Concurrent/Promises/Future.html index 8ed54242..164ee1fd 100644 --- a/docs/master/Concurrent/Promises/Future.html +++ b/docs/master/Concurrent/Promises/Future.html @@ -1095,12 +1095,12 @@ first.

     
     
    +1023
     1024
    -1025
    -1026
    +1025
    -
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 11
    +      
    # File 'lib/concurrent/collection/lock_free_stack.rb', line 15
     
     def value
       @value
    diff --git a/docs/1.1.0/Concurrent/Promises.html b/docs/1.1.0/Concurrent/Promises.html
    index 262f6bad..5d194e82 100644
    --- a/docs/1.1.0/Concurrent/Promises.html
    +++ b/docs/1.1.0/Concurrent/Promises.html
    @@ -963,6 +963,62 @@ e.g. when the tasks raises an exception.

    Creates new future which is resolved after all futures_and_or_events are resolved.

    + + + +
  • + + + .zip_futures_over(enumerable, &future_factory) ⇒ Future + + + + + + + extended + from FactoryMethods + + + + + + + + + + +

    Shortcut of FactoryMethods#zip_futures_over_on with default :io executor supplied.

    +
    + +
  • + + +
  • + + + .zip_futures_over_on(default_executor, enumerable) {|element| ... } ⇒ Future + + + + + + + extended + from FactoryMethods + + + + + + + + + + +

    Creates new future which is resolved after all the futures created by future_factory from enumerable elements are resolved.

    +
    +
  • @@ -3012,6 +3068,221 @@ executor parameter or changed with +

    + + .zip_futures_over(enumerable, &future_factory) ⇒ Future + + + + + + + Originally defined in module + FactoryMethods + + +

    +
    + +
    + Note: +

    Edge Features are under active development and may change frequently.

    + +
      +
    • Deprecations are not added before incompatible changes.
    • +
    • Edge version: major is always 0, minor bump means incompatible change, +patch bump means compatible change.
    • +
    • Edge features may also lack tests and documentation.
    • +
    • Features developed in concurrent-ruby-edge are expected to move +to concurrent-ruby when finalised.
    • +
    +
    +
    + +

    Shortcut of #zip_futures_over_on with default :io executor supplied.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Future) + + + +
    • + +
    + +

    See Also:

    + + +
    + + +
    +

    + + .zip_futures_over_on(default_executor, enumerable) {|element| ... } ⇒ Future + + + + + + + Originally defined in module + FactoryMethods + + +

    +
    + +
    + Note: +

    Edge Features are under active development and may change frequently.

    + +
      +
    • Deprecations are not added before incompatible changes.
    • +
    • Edge version: major is always 0, minor bump means incompatible change, +patch bump means compatible change.
    • +
    • Edge features may also lack tests and documentation.
    • +
    • Features developed in concurrent-ruby-edge are expected to move +to concurrent-ruby when finalised.
    • +
    +
    +
    + +

    Creates new future which is resolved after all the futures created by future_factory from +enumerable elements are resolved. Simplified it does: +zip(*enumerable.map { |e| future e, &future_factory })

    + + +
    +
    +
    + +
    +

    Examples:

    + + +
    # `#succ` calls are executed in parallel
    +zip_futures_over_on(:io, [1, 2], &:succ).value! # => [2, 3]
    + +
    +

    Parameters:

    +
      + +
    • + + default_executor + + + (Executor, :io, :fast) + + + + — +

      Instance of an executor or a name of the +global executor. Default executor propagates to chained futures unless overridden with +executor parameter or changed with AbstractEventFuture#with_default_executor.

      +
      + +
    • + +
    • + + enumerable + + + (Enumerable) + + + +
    • + +
    + +

    Yields:

    +
      + +
    • + + + + + + + +

      a task to be executed in future

      +
      + +
    • + +
    +

    Yield Parameters:

    +
      + +
    • + + element + + + (Object) + + + + — +

      from enumerable

      +
      + +
    • + +
    +

    Yield Returns:

    +
      + +
    • + + + (Object) + + + + — +

      a value of the future

      +
      + +
    • + +
    +

    Returns:

    + diff --git a/docs/1.1.0/Concurrent/Promises/AbstractEventFuture.html b/docs/1.1.0/Concurrent/Promises/AbstractEventFuture.html index 15651ecc..d4a2352b 100644 --- a/docs/1.1.0/Concurrent/Promises/AbstractEventFuture.html +++ b/docs/1.1.0/Concurrent/Promises/AbstractEventFuture.html @@ -588,12 +588,12 @@
     
     
    +576
     577
    -578
    -579
    +578
    -
    # File 'lib/concurrent/promises.rb', line 577
    +      
    # File 'lib/concurrent/promises.rb', line 576
     
     def chain(*args, &task)
       chain_on @DefaultExecutor, *args, &task
    @@ -806,12 +806,12 @@ raised exception becomes 
     
     
    +594
     595
    -596
    -597
    +596
    -
    # File 'lib/concurrent/promises.rb', line 595
    +      
    # File 'lib/concurrent/promises.rb', line 594
     
     def chain_on(executor, *args, &task)
       ChainPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -878,12 +878,12 @@ raised exception becomes 
     
     
    +609
     610
    -611
    -612
    +611
    -
    # File 'lib/concurrent/promises.rb', line 610
    +      
    # File 'lib/concurrent/promises.rb', line 609
     
     def chain_resolvable(resolvable)
       on_resolution! { resolvable.resolve_with internal_state }
    @@ -997,12 +997,12 @@ raised exception becomes 
     
     
    +570
     571
    -572
    -573
    +572
    -
    # File 'lib/concurrent/promises.rb', line 571
    +      
    # File 'lib/concurrent/promises.rb', line 570
     
     def default_executor
       @DefaultExecutor
    @@ -1057,12 +1057,12 @@ raised exception becomes 
     
     
    +617
     618
    -619
    -620
    +619
    -
    # File 'lib/concurrent/promises.rb', line 618
    +      
    # File 'lib/concurrent/promises.rb', line 617
     
     def on_resolution(*args, &callback)
       on_resolution_using @DefaultExecutor, *args, &callback
    @@ -1258,12 +1258,12 @@ resolved.

     
     
    +635
     636
    -637
    -638
    +637
    -
    # File 'lib/concurrent/promises.rb', line 636
    +      
    # File 'lib/concurrent/promises.rb', line 635
     
     def on_resolution!(*args, &callback)
       add_callback :callback_on_resolution, args, callback
    @@ -1474,12 +1474,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +653
     654
    -655
    -656
    +655
    -
    # File 'lib/concurrent/promises.rb', line 654
    +      
    # File 'lib/concurrent/promises.rb', line 653
     
     def on_resolution_using(executor, *args, &callback)
       add_callback :async_callback_on_resolution, executor, args, callback
    @@ -1527,12 +1527,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +529
     530
    -531
    -532
    +531
    -
    # File 'lib/concurrent/promises.rb', line 530
    +      
    # File 'lib/concurrent/promises.rb', line 529
     
     def pending?
       !internal_state.resolved?
    @@ -1580,12 +1580,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +535
     536
    -537
    -538
    +537
    -
    # File 'lib/concurrent/promises.rb', line 536
    +      
    # File 'lib/concurrent/promises.rb', line 535
     
     def resolved?
       internal_state.resolved?
    @@ -1699,12 +1699,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +523
     524
    -525
    -526
    +525
    -
    # File 'lib/concurrent/promises.rb', line 524
    +      
    # File 'lib/concurrent/promises.rb', line 523
     
     def state
       internal_state.to_sym
    @@ -1831,12 +1831,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +599
     600
    -601
    -602
    +601
    -
    # File 'lib/concurrent/promises.rb', line 600
    +      
    # File 'lib/concurrent/promises.rb', line 599
     
     def to_s
       format '%s %s>', super[0..-2], state
    @@ -1885,13 +1885,13 @@ executed. This method is called by any other method requiring resolved state, li
           
     
     
    +542
     543
     544
    -545
    -546
    +545
    -
    # File 'lib/concurrent/promises.rb', line 543
    +      
    # File 'lib/concurrent/promises.rb', line 542
     
     def touch
       @Promise.touch
    @@ -1975,13 +1975,13 @@ and it was resolved, false implies it was not resolved within timeout.

     
     
    +558
     559
     560
    -561
    -562
    +561
    -
    # File 'lib/concurrent/promises.rb', line 559
    +      
    # File 'lib/concurrent/promises.rb', line 558
     
     def wait(timeout = nil)
       result = wait_until_resolved(timeout)
    @@ -2057,12 +2057,12 @@ Any futures depending on it will use the new default executor.

     
     
    +663
     664
    -665
    -666
    +665
    -
    # File 'lib/concurrent/promises.rb', line 664
    +      
    # File 'lib/concurrent/promises.rb', line 663
     
     def with_default_executor(executor)
       raise NotImplementedError
    diff --git a/docs/1.1.0/Concurrent/Promises/Event.html b/docs/1.1.0/Concurrent/Promises/Event.html
    index e0747ffd..3d059994 100644
    --- a/docs/1.1.0/Concurrent/Promises/Event.html
    +++ b/docs/1.1.0/Concurrent/Promises/Event.html
    @@ -359,12 +359,12 @@ resolves.

     
     
    +818
     819
    -820
    -821
    +820
    -
    # File 'lib/concurrent/promises.rb', line 819
    +      
    # File 'lib/concurrent/promises.rb', line 818
     
     def any(event_or_future)
       AnyResolvedEventPromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).event
    @@ -413,13 +413,13 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +828
     829
     830
    -831
    -832
    +831
    -
    # File 'lib/concurrent/promises.rb', line 829
    +      
    # File 'lib/concurrent/promises.rb', line 828
     
     def delay
       event = DelayPromise.new(@DefaultExecutor).event
    @@ -490,15 +490,15 @@ delay into the chain.

     
     
    +840
     841
     842
     843
     844
    -845
    -846
    +845
    -
    # File 'lib/concurrent/promises.rb', line 841
    +      
    # File 'lib/concurrent/promises.rb', line 840
     
     def schedule(intended_time)
       chain do
    @@ -549,12 +549,12 @@ delay into the chain.

     
     
    +858
     859
    -860
    -861
    +860
    -
    # File 'lib/concurrent/promises.rb', line 859
    +      
    # File 'lib/concurrent/promises.rb', line 858
     
     def to_event
       self
    @@ -602,14 +602,14 @@ delay into the chain.

     
     
    +850
     851
     852
     853
    -854
    -855
    +854
    -
    # File 'lib/concurrent/promises.rb', line 851
    +      
    # File 'lib/concurrent/promises.rb', line 850
     
     def to_future
       future = Promises.resolvable_future
    @@ -660,12 +660,12 @@ Any futures depending on it will use the new default executor.

     
     
    +864
     865
    -866
    -867
    +866
    -
    # File 'lib/concurrent/promises.rb', line 865
    +      
    # File 'lib/concurrent/promises.rb', line 864
     
     def with_default_executor(executor)
       EventWrapperPromise.new_blocked_by1(self, executor).event
    @@ -721,16 +721,16 @@ then the result is as described in 
     
     
    +804
     805
     806
     807
     808
     809
    -810
    -811
    +810
    -
    # File 'lib/concurrent/promises.rb', line 805
    +      
    # File 'lib/concurrent/promises.rb', line 804
     
     def zip(other)
       if other.is_a?(Future)
    diff --git a/docs/1.1.0/Concurrent/Promises/FactoryMethods.html b/docs/1.1.0/Concurrent/Promises/FactoryMethods.html
    index ef3f7eb7..2a877222 100644
    --- a/docs/1.1.0/Concurrent/Promises/FactoryMethods.html
    +++ b/docs/1.1.0/Concurrent/Promises/FactoryMethods.html
    @@ -768,6 +768,52 @@ new.

    Creates new future which is resolved after all futures_and_or_events are resolved.

    + + + +
  • + + + #zip_futures_over(enumerable, &future_factory) ⇒ Future + + + + + + + + + + + + + +

    Shortcut of #zip_futures_over_on with default :io executor supplied.

    +
    + +
  • + + +
  • + + + #zip_futures_over_on(default_executor, enumerable) {|element| ... } ⇒ Future + + + + + + + + + + + + + +

    Creates new future which is resolved after all the futures created by future_factory from enumerable elements are resolved.

    +
    +
  • @@ -3165,6 +3211,249 @@ executor parameter or changed with +

    + + #zip_futures_over(enumerable, &future_factory) ⇒ Future + + + + + +

    +
    + +
    + Note: +

    Edge Features are under active development and may change frequently.

    + +
      +
    • Deprecations are not added before incompatible changes.
    • +
    • Edge version: major is always 0, minor bump means incompatible change, +patch bump means compatible change.
    • +
    • Edge features may also lack tests and documentation.
    • +
    • Features developed in concurrent-ruby-edge are expected to move +to concurrent-ruby when finalised.
    • +
    +
    +
    + +

    Shortcut of #zip_futures_over_on with default :io executor supplied.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Future) + + + +
    • + +
    + +

    See Also:

    + + +
    + + + + +
    +
    +
    +
    +179
    +180
    +181
    +
    +
    # File 'lib-edge/concurrent/edge/promises.rb', line 179
    +
    +def zip_futures_over(enumerable, &future_factory)
    +  zip_futures_over_on default_executor, enumerable, &future_factory
    +end
    +
    + + +
    +

    + + #zip_futures_over_on(default_executor, enumerable) {|element| ... } ⇒ Future + + + + + +

    +
    + +
    + Note: +

    Edge Features are under active development and may change frequently.

    + +
      +
    • Deprecations are not added before incompatible changes.
    • +
    • Edge version: major is always 0, minor bump means incompatible change, +patch bump means compatible change.
    • +
    • Edge features may also lack tests and documentation.
    • +
    • Features developed in concurrent-ruby-edge are expected to move +to concurrent-ruby when finalised.
    • +
    +
    +
    + +

    Creates new future which is resolved after all the futures created by future_factory from +enumerable elements are resolved. Simplified it does: +zip(*enumerable.map { |e| future e, &future_factory })

    + + +
    +
    +
    + +
    +

    Examples:

    + + +
    # `#succ` calls are executed in parallel
    +zip_futures_over_on(:io, [1, 2], &:succ).value! # => [2, 3]
    + +
    +

    Parameters:

    +
      + +
    • + + default_executor + + + (Executor, :io, :fast) + + + + — +

      Instance of an executor or a name of the +global executor. Default executor propagates to chained futures unless overridden with +executor parameter or changed with AbstractEventFuture#with_default_executor.

      +
      + +
    • + +
    • + + enumerable + + + (Enumerable) + + + +
    • + +
    + +

    Yields:

    +
      + +
    • + + + + + + + +

      a task to be executed in future

      +
      + +
    • + +
    +

    Yield Parameters:

    +
      + +
    • + + element + + + (Object) + + + + — +

      from enumerable

      +
      + +
    • + +
    +

    Yield Returns:

    +
      + +
    • + + + (Object) + + + + — +

      a value of the future

      +
      + +
    • + +
    +

    Returns:

    +
      + +
    • + + + (Future) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +197
    +198
    +199
    +200
    +
    +
    # File 'lib-edge/concurrent/edge/promises.rb', line 197
    +
    +def zip_futures_over_on(default_executor, enumerable, &future_factory)
    +  # ZipFuturesPromise.new_blocked_by(futures_and_or_events, default_executor).future
    +  zip_futures_on(default_executor, *enumerable.map { |e| future e, &future_factory })
    +end
    +
    diff --git a/docs/1.1.0/Concurrent/Promises/Future.html b/docs/1.1.0/Concurrent/Promises/Future.html index 8ed54242..164ee1fd 100644 --- a/docs/1.1.0/Concurrent/Promises/Future.html +++ b/docs/1.1.0/Concurrent/Promises/Future.html @@ -1095,12 +1095,12 @@ first.

     
     
    +1023
     1024
    -1025
    -1026
    +1025
    -
    # File 'lib/concurrent/promises.rb', line 1024
    +      
    # File 'lib/concurrent/promises.rb', line 1023
     
     def any(event_or_future)
       AnyResolvedFuturePromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).future
    @@ -1149,13 +1149,13 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +1033
     1034
     1035
    -1036
    -1037
    +1036
    -
    # File 'lib/concurrent/promises.rb', line 1034
    +      
    # File 'lib/concurrent/promises.rb', line 1033
     
     def delay
       event = DelayPromise.new(@DefaultExecutor).event
    @@ -1229,6 +1229,7 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +956
     957
     958
     959
    @@ -1240,11 +1241,10 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
     965
     966
     967
    -968
    -969
    +968
    -
    # File 'lib/concurrent/promises.rb', line 957
    +      
    # File 'lib/concurrent/promises.rb', line 956
     
     def exception(*args)
       raise Concurrent::Error, 'it is not rejected' unless rejected?
    @@ -1303,12 +1303,12 @@ Be careful if the receiver rejects it will just resolve since Event does not hol
           
     
     
    +1068
     1069
    -1070
    -1071
    +1070
    -
    # File 'lib/concurrent/promises.rb', line 1069
    +      
    # File 'lib/concurrent/promises.rb', line 1068
     
     def flat_event
       FlatEventPromise.new_blocked_by1(self, @DefaultExecutor).event
    @@ -1382,12 +1382,12 @@ rejects it will have its rejection.

     
     
    +1058
     1059
    -1060
    -1061
    +1060
    -
    # File 'lib/concurrent/promises.rb', line 1059
    +      
    # File 'lib/concurrent/promises.rb', line 1058
     
     def flat_future(level = 1)
       FlatFuturePromise.new_blocked_by1(self, level, @DefaultExecutor).future
    @@ -1435,13 +1435,13 @@ rejects it will have its rejection.

     
     
    +886
     887
     888
    -889
    -890
    +889
    -
    # File 'lib/concurrent/promises.rb', line 887
    +      
    # File 'lib/concurrent/promises.rb', line 886
     
     def fulfilled?
       state = internal_state
    @@ -1497,12 +1497,12 @@ rejects it will have its rejection.

     
     
    +1074
     1075
    -1076
    -1077
    +1076
    -
    # File 'lib/concurrent/promises.rb', line 1075
    +      
    # File 'lib/concurrent/promises.rb', line 1074
     
     def on_fulfillment(*args, &callback)
       on_fulfillment_using @DefaultExecutor, *args, &callback
    @@ -1605,12 +1605,12 @@ fulfilled. Does nothing on rejection.

     
     
    +1085
     1086
    -1087
    -1088
    +1087
    -
    # File 'lib/concurrent/promises.rb', line 1086
    +      
    # File 'lib/concurrent/promises.rb', line 1085
     
     def on_fulfillment!(*args, &callback)
       add_callback :callback_on_fulfillment, args, callback
    @@ -1729,12 +1729,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1097
     1098
    -1099
    -1100
    +1099
    -
    # File 'lib/concurrent/promises.rb', line 1098
    +      
    # File 'lib/concurrent/promises.rb', line 1097
     
     def on_fulfillment_using(executor, *args, &callback)
       add_callback :async_callback_on_fulfillment, executor, args, callback
    @@ -1789,12 +1789,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1103
     1104
    -1105
    -1106
    +1105
    -
    # File 'lib/concurrent/promises.rb', line 1104
    +      
    # File 'lib/concurrent/promises.rb', line 1103
     
     def on_rejection(*args, &callback)
       on_rejection_using @DefaultExecutor, *args, &callback
    @@ -1897,12 +1897,12 @@ rejected. Does nothing on fulfillment.

     
     
    +1114
     1115
    -1116
    -1117
    +1116
    -
    # File 'lib/concurrent/promises.rb', line 1115
    +      
    # File 'lib/concurrent/promises.rb', line 1114
     
     def on_rejection!(*args, &callback)
       add_callback :callback_on_rejection, args, callback
    @@ -2021,12 +2021,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1126
     1127
    -1128
    -1129
    +1128
    -
    # File 'lib/concurrent/promises.rb', line 1127
    +      
    # File 'lib/concurrent/promises.rb', line 1126
     
     def on_rejection_using(executor, *args, &callback)
       add_callback :async_callback_on_rejection, executor, args, callback
    @@ -2116,12 +2116,12 @@ Calls 
     
     
    +922
     923
    -924
    -925
    +924
    -
    # File 'lib/concurrent/promises.rb', line 923
    +      
    # File 'lib/concurrent/promises.rb', line 922
     
     def reason(timeout = nil)
       internal_state.reason if wait_until_resolved timeout
    @@ -2169,13 +2169,13 @@ Calls 
     
     
    +893
     894
     895
    -896
    -897
    +896
    -
    # File 'lib/concurrent/promises.rb', line 894
    +      
    # File 'lib/concurrent/promises.rb', line 893
     
     def rejected?
       state = internal_state
    @@ -2231,12 +2231,12 @@ Calls 
     
     
    +990
     991
    -992
    -993
    +992
    -
    # File 'lib/concurrent/promises.rb', line 991
    +      
    # File 'lib/concurrent/promises.rb', line 990
     
     def rescue(*args, &task)
       rescue_on @DefaultExecutor, *args, &task
    @@ -2357,12 +2357,12 @@ raised exception becomes 
     
     
    +1002
     1003
    -1004
    -1005
    +1004
    -
    # File 'lib/concurrent/promises.rb', line 1003
    +      
    # File 'lib/concurrent/promises.rb', line 1002
     
     def rescue_on(executor, *args, &task)
       RescuePromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -2492,12 +2492,12 @@ on timeout.

     
     
    +933
     934
    -935
    -936
    +935
    -
    # File 'lib/concurrent/promises.rb', line 934
    +      
    # File 'lib/concurrent/promises.rb', line 933
     
     def result(timeout = nil)
       internal_state.result if wait_until_resolved timeout
    @@ -2560,12 +2560,12 @@ will become reason of the returned future.

     
     
    +1142
     1143
    -1144
    -1145
    +1144
    -
    # File 'lib/concurrent/promises.rb', line 1143
    +      
    # File 'lib/concurrent/promises.rb', line 1142
     
     def run
       RunFuturePromise.new_blocked_by1(self, @DefaultExecutor).future
    @@ -2635,15 +2635,15 @@ delay into the chain.

     
     
    +1040
     1041
     1042
     1043
     1044
    -1045
    -1046
    +1045
    -
    # File 'lib/concurrent/promises.rb', line 1041
    +      
    # File 'lib/concurrent/promises.rb', line 1040
     
     def schedule(intended_time)
       chain do
    @@ -2701,12 +2701,12 @@ delay into the chain.

     
     
    +972
     973
    -974
    -975
    +974
    -
    # File 'lib/concurrent/promises.rb', line 973
    +      
    # File 'lib/concurrent/promises.rb', line 972
     
     def then(*args, &task)
       then_on @DefaultExecutor, *args, &task
    @@ -3035,12 +3035,12 @@ raised exception becomes 
     
     
    +984
     985
    -986
    -987
    +986
    -
    # File 'lib/concurrent/promises.rb', line 985
    +      
    # File 'lib/concurrent/promises.rb', line 984
     
     def then_on(executor, *args, &task)
       ThenPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -3223,14 +3223,14 @@ May take a moment if the channel is full.

     
     
    +1154
     1155
     1156
     1157
    -1158
    -1159
    +1158
    -
    # File 'lib/concurrent/promises.rb', line 1155
    +      
    # File 'lib/concurrent/promises.rb', line 1154
     
     def to_event
       event = Promises.resolvable_event
    @@ -3280,12 +3280,12 @@ May take a moment if the channel is full.

     
     
    +1162
     1163
    -1164
    -1165
    +1164
    -
    # File 'lib/concurrent/promises.rb', line 1163
    +      
    # File 'lib/concurrent/promises.rb', line 1162
     
     def to_future
       self
    @@ -3375,12 +3375,12 @@ Calls 
     
     
    +911
     912
    -913
    -914
    +913
    -
    # File 'lib/concurrent/promises.rb', line 912
    +      
    # File 'lib/concurrent/promises.rb', line 911
     
     def value(timeout = nil)
       internal_state.value if wait_until_resolved timeout
    @@ -3487,12 +3487,12 @@ Calls 
     
     
    +947
     948
    -949
    -950
    +949
    -
    # File 'lib/concurrent/promises.rb', line 948
    +      
    # File 'lib/concurrent/promises.rb', line 947
     
     def value!(timeout = nil)
       internal_state.value if wait_until_resolved! timeout
    @@ -3592,13 +3592,13 @@ and it was resolved, false implies it was not resolved within timeout.

     
     
    +939
     940
     941
    -942
    -943
    +942
    -
    # File 'lib/concurrent/promises.rb', line 940
    +      
    # File 'lib/concurrent/promises.rb', line 939
     
     def wait!(timeout = nil)
       result = wait_until_resolved!(timeout)
    @@ -3648,12 +3648,12 @@ Any futures depending on it will use the new default executor.

     
     
    +1049
     1050
    -1051
    -1052
    +1051
    -
    # File 'lib/concurrent/promises.rb', line 1050
    +      
    # File 'lib/concurrent/promises.rb', line 1049
     
     def with_default_executor(executor)
       FutureWrapperPromise.new_blocked_by1(self, executor).future
    @@ -3709,16 +3709,16 @@ then the result is as described in 
     
     
    +1008
     1009
     1010
     1011
     1012
     1013
    -1014
    -1015
    +1014
    -
    # File 'lib/concurrent/promises.rb', line 1009
    +      
    # File 'lib/concurrent/promises.rb', line 1008
     
     def zip(other)
       if other.is_a?(Future)
    diff --git a/docs/1.1.0/Concurrent/Promises/Future/ThrottleIntegration.html b/docs/1.1.0/Concurrent/Promises/Future/ThrottleIntegration.html
    index 24c6518e..1f64b991 100644
    --- a/docs/1.1.0/Concurrent/Promises/Future/ThrottleIntegration.html
    +++ b/docs/1.1.0/Concurrent/Promises/Future/ThrottleIntegration.html
    @@ -203,12 +203,12 @@
           
     
     
    -193
    -194
    -195
    +191 +192 +193
    -
    # File 'lib-edge/concurrent/edge/throttle.rb', line 193
    +      
    # File 'lib-edge/concurrent/edge/throttle.rb', line 191
     
     def rescue_throttled_by(throttle, *args, &block)
       throttled_by(throttle) { |trigger| trigger.rescue(*args, &block) }
    @@ -286,12 +286,12 @@
           
     
     
    -186
    -187
    -188
    +184 +185 +186
    -
    # File 'lib-edge/concurrent/edge/throttle.rb', line 186
    +      
    # File 'lib-edge/concurrent/edge/throttle.rb', line 184
     
     def then_throttled_by(throttle, *args, &block)
       throttled_by(throttle) { |trigger| trigger.then(*args, &block) }
    diff --git a/docs/1.1.0/Concurrent/Promises/ResolvableEvent.html b/docs/1.1.0/Concurrent/Promises/ResolvableEvent.html
    index 7edac314..52d73911 100644
    --- a/docs/1.1.0/Concurrent/Promises/ResolvableEvent.html
    +++ b/docs/1.1.0/Concurrent/Promises/ResolvableEvent.html
    @@ -266,12 +266,12 @@ is already resolved.

     
     
    +1230
     1231
    -1232
    -1233
    +1232
    -
    # File 'lib/concurrent/promises.rb', line 1231
    +      
    # File 'lib/concurrent/promises.rb', line 1230
     
     def resolve(raise_on_reassign = true)
       resolve_with RESOLVED, raise_on_reassign
    @@ -319,12 +319,12 @@ is already resolved.

     
     
    +1237
     1238
    -1239
    -1240
    +1239
    -
    # File 'lib/concurrent/promises.rb', line 1238
    +      
    # File 'lib/concurrent/promises.rb', line 1237
     
     def with_hidden_resolvable
       @with_hidden_resolvable ||= EventWrapperPromise.new_blocked_by1(self, @DefaultExecutor).event
    diff --git a/docs/1.1.0/Concurrent/Promises/ResolvableFuture.html b/docs/1.1.0/Concurrent/Promises/ResolvableFuture.html
    index 1ace1fdd..af332b2b 100644
    --- a/docs/1.1.0/Concurrent/Promises/ResolvableFuture.html
    +++ b/docs/1.1.0/Concurrent/Promises/ResolvableFuture.html
    @@ -377,12 +377,12 @@ an exception the future rejects with it.

     
     
    +1275
     1276
    -1277
    -1278
    +1277
    -
    # File 'lib/concurrent/promises.rb', line 1276
    +      
    # File 'lib/concurrent/promises.rb', line 1275
     
     def evaluate_to(*args, &block)
       promise.evaluate_to(*args, block)
    @@ -482,12 +482,12 @@ an exception the future rejects with it.

     
     
    +1285
     1286
    -1287
    -1288
    +1287
    -
    # File 'lib/concurrent/promises.rb', line 1286
    +      
    # File 'lib/concurrent/promises.rb', line 1285
     
     def evaluate_to!(*args, &block)
       promise.evaluate_to(*args, block).wait!
    @@ -562,12 +562,12 @@ is already resolved.

     
     
    +1258
     1259
    -1260
    -1261
    +1260
    -
    # File 'lib/concurrent/promises.rb', line 1259
    +      
    # File 'lib/concurrent/promises.rb', line 1258
     
     def fulfill(value, raise_on_reassign = true)
       promise.fulfill(value, raise_on_reassign)
    @@ -642,12 +642,12 @@ is already resolved.

     
     
    +1266
     1267
    -1268
    -1269
    +1268
    -
    # File 'lib/concurrent/promises.rb', line 1267
    +      
    # File 'lib/concurrent/promises.rb', line 1266
     
     def reject(reason, raise_on_reassign = true)
       promise.reject(reason, raise_on_reassign)
    @@ -722,12 +722,12 @@ is already resolved.

     
     
    +1250
     1251
    -1252
    -1253
    +1252
    -
    # File 'lib/concurrent/promises.rb', line 1251
    +      
    # File 'lib/concurrent/promises.rb', line 1250
     
     def resolve(fulfilled = true, value = nil, reason = nil, raise_on_reassign = true)
       resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason), raise_on_reassign)
    @@ -775,12 +775,12 @@ is already resolved.

     
     
    +1292
     1293
    -1294
    -1295
    +1294
    -
    # File 'lib/concurrent/promises.rb', line 1293
    +      
    # File 'lib/concurrent/promises.rb', line 1292
     
     def with_hidden_resolvable
       @with_hidden_resolvable ||= FutureWrapperPromise.new_blocked_by1(self, @DefaultExecutor).future
    diff --git a/docs/1.1.0/Concurrent/Synchronization/Object.html b/docs/1.1.0/Concurrent/Synchronization/Object.html
    index 60f4deb6..5ab847c0 100644
    --- a/docs/1.1.0/Concurrent/Synchronization/Object.html
    +++ b/docs/1.1.0/Concurrent/Synchronization/Object.html
    @@ -117,7 +117,7 @@
     
     
     
     
    diff --git a/docs/1.1.0/_index.html b/docs/1.1.0/_index.html
    index 5dfb934e..20e4ee8c 100644
    --- a/docs/1.1.0/_index.html
    +++ b/docs/1.1.0/_index.html
    @@ -472,13 +472,6 @@
                     
                   
                 
    -              
  • - Empty - - (Concurrent::LockFreeStack) - -
  • -
  • Envelope @@ -704,6 +697,13 @@
  • +
  • + LockFreeStack + + (Concurrent) + +
  • + diff --git a/docs/1.1.0/class_list.html b/docs/1.1.0/class_list.html index d88930a7..3bf715be 100644 --- a/docs/1.1.0/class_list.html +++ b/docs/1.1.0/class_list.html @@ -43,7 +43,7 @@ diff --git a/docs/1.1.0/file.CHANGELOG.html b/docs/1.1.0/file.CHANGELOG.html index df1c24d9..bfa78359 100644 --- a/docs/1.1.0/file.CHANGELOG.html +++ b/docs/1.1.0/file.CHANGELOG.html @@ -59,6 +59,8 @@

    Current

    +

    Release v1.1.0.pre1, edge v0.4.0.pre1 (15 Aug 2018)

    +

    concurrent-ruby:

      diff --git a/docs/1.1.0/file.README.html b/docs/1.1.0/file.README.html index 5d201449..80ad6474 100644 --- a/docs/1.1.0/file.README.html +++ b/docs/1.1.0/file.README.html @@ -307,7 +307,7 @@ inspiration from Clojure core.as
    • LazyRegister
    • LockFreeLinkedSet Status: will be moved to core soon.
    • -
    • LockFreeStack +
    • LockFreeStack Status: missing documentation and tests.
    diff --git a/docs/1.1.0/file.promises.out.html b/docs/1.1.0/file.promises.out.html index 3becf09a..806aedfb 100644 --- a/docs/1.1.0/file.promises.out.html +++ b/docs/1.1.0/file.promises.out.html @@ -92,7 +92,9 @@ composition.

    # :zip_events, # :zip_events_on, # :zip_futures, -# :zip_futures_on] +# :zip_futures_on, +# :zip_futures_over, +# :zip_futures_over_on]

    The module can be included or extended where needed.

    diff --git a/docs/1.1.0/index.html b/docs/1.1.0/index.html index dea8065f..6729a0c6 100644 --- a/docs/1.1.0/index.html +++ b/docs/1.1.0/index.html @@ -307,7 +307,7 @@ inspiration from Clojure core.as
  • LazyRegister
  • LockFreeLinkedSet Status: will be moved to core soon.
  • -
  • LockFreeStack +
  • LockFreeStack Status: missing documentation and tests.
  • diff --git a/docs/1.1.0/method_list.html b/docs/1.1.0/method_list.html index 670f3d30..f7b73208 100644 --- a/docs/1.1.0/method_list.html +++ b/docs/1.1.0/method_list.html @@ -45,14 +45,6 @@
  • -
    - << - Concurrent::SimpleExecutorService -
    -
  • - - -
  • #<< Concurrent::Edge::LockFreeLinkedSet @@ -60,30 +52,6 @@
  • -
  • -
    - #<< - Concurrent::ThreadPoolExecutor -
    -
  • - - -
  • -
    - #<< - Concurrent::ImmediateExecutor -
    -
  • - - -
  • -
    - #<< - Concurrent::SimpleExecutorService -
    -
  • - -
  • #<< @@ -92,6 +60,22 @@
  • +
  • +
    + #<< + Concurrent::ImmediateExecutor +
    +
  • + + +
  • +
    + #<< + Concurrent::ThreadPoolExecutor +
    +
  • + +
  • #<< @@ -100,6 +84,22 @@
  • +
  • +
    + #<< + Concurrent::SimpleExecutorService +
    +
  • + + +
  • +
    + << + Concurrent::SimpleExecutorService +
    +
  • + +
  • #<=> @@ -141,14 +141,6 @@
  • -
    - #== - Concurrent::SettableStruct -
    -
  • - - -
  • #== Concurrent::ImmutableStruct @@ -156,7 +148,7 @@
  • -
  • +
  • #== Concurrent::Actor::Reference @@ -164,7 +156,7 @@
  • -
  • +
  • #== Concurrent::MutableStruct @@ -172,6 +164,14 @@
  • +
  • +
    + #== + Concurrent::SettableStruct +
    +
  • + +
  • #Child! @@ -222,16 +222,16 @@
  • - #[] - Concurrent::LazyRegister + #[] + Concurrent::MutableStruct
  • - #[] - Concurrent::MutableStruct + #[] + Concurrent::LazyRegister
  • @@ -262,16 +262,16 @@
  • - #[]= - Concurrent::SettableStruct + #[]= + Concurrent::MutableStruct
  • - #[]= - Concurrent::MutableStruct + #[]= + Concurrent::SettableStruct
  • @@ -373,6 +373,14 @@
  • +
    + #add_observer + Concurrent::Collection::CopyOnWriteObserverSet +
    +
  • + + +
  • #add_observer Concurrent::Collection::CopyOnNotifyObserverSet @@ -380,7 +388,7 @@
  • -
  • +
  • #add_observer Concurrent::IVar @@ -388,7 +396,7 @@
  • -
  • +
  • #add_observer Concurrent::Concern::Observable @@ -396,14 +404,6 @@
  • -
  • -
    - #add_observer - Concurrent::Collection::CopyOnWriteObserverSet -
    -
  • - -
  • #address @@ -526,16 +526,16 @@
  • - #ask - Concurrent::Actor::Reference + #ask + Concurrent::Actor::AbstractContext
  • - #ask - Concurrent::Actor::AbstractContext + #ask + Concurrent::Actor::Reference
  • @@ -572,6 +572,22 @@ +
  • +
    + attr_volatile + Concurrent::Synchronization::Object +
    +
  • + + +
  • +
    + #attr_volatile + Concurrent::Synchronization::JRubyAttrVolatile::ClassMethods +
    +
  • + +
  • #attr_volatile @@ -588,22 +604,6 @@
  • -
  • -
    - #attr_volatile - Concurrent::Synchronization::JRubyAttrVolatile::ClassMethods -
    -
  • - - -
  • -
    - attr_volatile - Concurrent::Synchronization::Object -
    -
  • - -
  • #attr_volatile @@ -630,16 +630,16 @@
  • - #auto_terminate? - Concurrent::SingleThreadExecutor + #auto_terminate? + Concurrent::ThreadPoolExecutor
  • - #auto_terminate? - Concurrent::ThreadPoolExecutor + #auto_terminate? + Concurrent::SingleThreadExecutor
  • @@ -654,7 +654,7 @@
  • - await + #await Concurrent::Agent
  • @@ -662,7 +662,7 @@
  • - #await + await Concurrent::Agent
  • @@ -678,7 +678,7 @@
  • - await_for + #await_for Concurrent::Agent
  • @@ -686,7 +686,7 @@
  • - #await_for + await_for Concurrent::Agent
  • @@ -694,7 +694,7 @@
  • - await_for! + #await_for! Concurrent::Agent
  • @@ -702,7 +702,7 @@
  • - #await_for! + await_for! Concurrent::Agent
  • @@ -726,16 +726,16 @@
  • - #behaviour - Concurrent::Actor::Core + #behaviour + Concurrent::Actor::InternalDelegations
  • - #behaviour - Concurrent::Actor::InternalDelegations + #behaviour + Concurrent::Actor::Core
  • @@ -766,16 +766,16 @@
  • - #behaviour_definition - Concurrent::Actor::Root + #behaviour_definition + Concurrent::Actor::Core
  • - #behaviour_definition - Concurrent::Actor::Core + #behaviour_definition + Concurrent::Actor::Root
  • @@ -813,14 +813,6 @@
  • -
    - #blocking? - Concurrent::Channel::Buffer::Base -
    -
  • - - -
  • #blocking? Concurrent::Channel::Buffer::Sliding @@ -828,7 +820,7 @@
  • -
  • +
  • #blocking? Concurrent::Channel::Buffer::Dropping @@ -836,6 +828,14 @@
  • +
  • +
    + #blocking? + Concurrent::Channel::Buffer::Base +
    +
  • + +
  • #borrow @@ -846,24 +846,24 @@
  • - #broadcast - Concurrent::Actor::Core + #broadcast + Concurrent::Synchronization::Condition
  • - #broadcast - Concurrent::Actor::Behaviour::Abstract + #broadcast + Concurrent::Actor::Core
  • - #broadcast - Concurrent::Synchronization::Condition + #broadcast + Concurrent::Actor::Behaviour::Abstract
  • @@ -926,16 +926,16 @@
  • - #cancel - Concurrent::Future + #cancel + Concurrent::Cancellation
  • - #cancel - Concurrent::Cancellation + #cancel + Concurrent::Future
  • @@ -966,16 +966,16 @@
  • - #cancelled? - Concurrent::ScheduledTask + #cancelled? + Concurrent::Future
  • - #cancelled? - Concurrent::Future + #cancelled? + Concurrent::ScheduledTask
  • @@ -1021,14 +1021,6 @@
  • -
    - #children - Concurrent::Actor::Core -
    -
  • - - -
  • #children Concurrent::Actor::InternalDelegations @@ -1036,7 +1028,39 @@
  • +
  • +
    + #children + Concurrent::Actor::Core +
    +
  • + +
  • +
    + #clear + Concurrent::LockFreeStack +
    +
  • + + +
  • +
    + #clear_each + Concurrent::LockFreeStack +
    +
  • + + +
  • +
    + #clear_if + Concurrent::LockFreeStack +
    +
  • + + +
  • #close Concurrent::Channel::Buffer::Base @@ -1044,7 +1068,7 @@
  • -
  • +
  • #closed? Concurrent::Channel::Buffer::Base @@ -1052,7 +1076,7 @@
  • -
  • +
  • #commit Concurrent::Transaction @@ -1060,18 +1084,26 @@
  • +
  • +
    + #compare_and_clear + Concurrent::LockFreeStack +
    +
  • + +
  • - #compare_and_set - Concurrent::AtomicMarkableReference + #compare_and_pop + Concurrent::LockFreeStack
  • - #compare_and_set - Concurrent::Atom + #compare_and_push + Concurrent::LockFreeStack
  • @@ -1084,6 +1116,22 @@ +
  • +
    + #compare_and_set + Concurrent::AtomicFixnum +
    +
  • + + +
  • +
    + #compare_and_set + Concurrent::Atom +
    +
  • + +
  • #compare_and_set @@ -1094,8 +1142,8 @@
  • - #compare_and_set - Concurrent::AtomicFixnum + #compare_and_set + Concurrent::AtomicMarkableReference
  • @@ -1150,16 +1198,16 @@
  • - #context - Concurrent::Actor::Core + #context + Concurrent::Actor::InternalDelegations
  • - #context - Concurrent::Actor::InternalDelegations + #context + Concurrent::Actor::Core
  • @@ -1222,16 +1270,16 @@
  • - #count_observers - Concurrent::Collection::CopyOnNotifyObserverSet + #count_observers + Concurrent::Concern::Observable
  • - #count_observers - Concurrent::Concern::Observable + #count_observers + Concurrent::Collection::CopyOnNotifyObserverSet
  • @@ -1270,16 +1318,16 @@
  • - current - Concurrent::Actor + current + Concurrent::Transaction
  • - current - Concurrent::Transaction + current + Concurrent::Actor
  • @@ -1333,6 +1381,14 @@
  • +
    + #dead_letter_routing + Concurrent::Actor::AbstractContext +
    +
  • + + +
  • #dead_letter_routing Concurrent::Actor::Reference @@ -1340,7 +1396,7 @@
  • -
  • +
  • #dead_letter_routing Concurrent::Actor::Root @@ -1348,7 +1404,7 @@
  • -
  • +
  • #dead_letter_routing Concurrent::Actor::Core @@ -1356,7 +1412,7 @@
  • -
  • +
  • #dead_letter_routing Concurrent::Actor::InternalDelegations @@ -1364,14 +1420,6 @@
  • -
  • -
    - #dead_letter_routing - Concurrent::Actor::AbstractContext -
    -
  • - -
  • #decrement @@ -1390,16 +1438,16 @@
  • - #default_executor - Concurrent::Actor::AbstractContext + #default_executor + Concurrent::Promises::FactoryMethods::Configuration
  • - #default_executor - Concurrent::Promises::FactoryMethods::Configuration + #default_executor + Concurrent::Actor::AbstractContext
  • @@ -1453,14 +1501,6 @@
  • -
    - #delete_observer - Concurrent::Concern::Observable -
    -
  • - - -
  • #delete_observer Concurrent::Collection::CopyOnWriteObserverSet @@ -1468,7 +1508,7 @@
  • -
  • +
  • #delete_observer Concurrent::Collection::CopyOnNotifyObserverSet @@ -1476,6 +1516,14 @@
  • +
  • +
    + #delete_observer + Concurrent::Concern::Observable +
    +
  • + +
  • #delete_observers @@ -1486,16 +1534,16 @@
  • - #delete_observers - Concurrent::Concern::Observable + #delete_observers + Concurrent::Collection::CopyOnNotifyObserverSet
  • - #delete_observers - Concurrent::Collection::CopyOnNotifyObserverSet + #delete_observers + Concurrent::Concern::Observable
  • @@ -1533,14 +1581,6 @@
  • -
    - #each - Concurrent::Edge::LockFreeLinkedSet -
    -
  • - - -
  • #each Concurrent::SettableStruct @@ -1548,18 +1588,26 @@
  • +
  • +
    + #each + Concurrent::Edge::LockFreeLinkedSet +
    +
  • + +
  • - #each - Concurrent::Channel + #each + Concurrent::Tuple
  • - #each - Concurrent::Tuple + #each + Concurrent::Channel
  • @@ -1582,15 +1630,15 @@
  • - #each_key - Concurrent::Map + #each + Concurrent::LockFreeStack
  • - #each_pair + #each_key Concurrent::Map
  • @@ -1622,7 +1670,7 @@
  • - #each_value + #each_pair Concurrent::Map
  • @@ -1630,16 +1678,32 @@
  • - #empty? - Concurrent::Channel::Buffer::Base + #each_value + Concurrent::Map
  • - #empty? - Concurrent::MVar + #empty? + Concurrent::LockFreeStack +
    +
  • + + +
  • +
    + #empty? + Concurrent::Channel::Buffer::Unbuffered +
    +
  • + + +
  • +
    + #empty? + Concurrent::Channel::Buffer::Base
  • @@ -1654,8 +1718,8 @@
  • - #empty? - Concurrent::Channel::Buffer::Unbuffered + #empty? + Concurrent::MVar
  • @@ -1670,16 +1734,16 @@
  • - #envelope - Concurrent::Actor::UnknownMessage + #envelope + Concurrent::Actor::AbstractContext
  • - #envelope - Concurrent::Actor::AbstractContext + #envelope + Concurrent::Actor::UnknownMessage
  • @@ -1774,24 +1838,40 @@
  • - #execute - Concurrent::Channel::Selector::DefaultClause + execute + Concurrent::TimerTask
  • - #execute - Concurrent::Channel::Selector::PutClause + #execute + Concurrent::Future
  • - #execute - Concurrent::Channel::Selector::TakeClause + execute + Concurrent::Future +
    +
  • + + +
  • +
    + #execute + Concurrent::Promise +
    +
  • + + +
  • +
    + execute + Concurrent::Promise
  • @@ -1805,46 +1885,6 @@
  • -
    - execute - Concurrent::TimerTask -
    -
  • - - -
  • -
    - #execute - Concurrent::Channel::Selector::AfterClause -
    -
  • - - -
  • -
    - #execute - Concurrent::Channel::Selector::ErrorClause -
    -
  • - - -
  • -
    - execute - Concurrent::Promise -
    -
  • - - -
  • -
    - #execute - Concurrent::Promise -
    -
  • - - -
  • #execute Concurrent::ScheduledTask @@ -1852,7 +1892,7 @@
  • -
  • +
  • execute Concurrent::ScheduledTask @@ -1860,18 +1900,26 @@
  • +
  • +
    + #execute + Concurrent::Channel::Selector::DefaultClause +
    +
  • + +
  • - execute - Concurrent::Future + #execute + Concurrent::Channel::Selector::ErrorClause
  • - #execute - Concurrent::Future + #execute + Concurrent::Channel::Selector::AfterClause
  • @@ -1884,6 +1932,22 @@ +
  • +
    + #execute + Concurrent::Channel::Selector::TakeClause +
    +
  • + + +
  • +
    + #execute + Concurrent::Channel::Selector::PutClause +
    +
  • + +
  • #execution_interval @@ -1893,14 +1957,6 @@
  • -
    - executor - Concurrent -
    -
  • - - -
  • #executor Concurrent::Actor::Core @@ -1908,14 +1964,6 @@
  • -
  • -
    - #executor - Concurrent::SerializedExecution::Job -
    -
  • - -
  • #executor @@ -1926,13 +1974,21 @@
  • - #fail - Concurrent::Promise + #executor + Concurrent::SerializedExecution::Job
  • +
    + executor + Concurrent +
    +
  • + + +
  • #fail Concurrent::IVar @@ -1940,6 +1996,14 @@
  • +
  • +
    + #fail + Concurrent::Promise +
    +
  • + +
  • #failed? @@ -2078,16 +2142,16 @@
  • - #full? - Concurrent::MVar + #full? + Concurrent::Channel::Buffer::Base
  • - #full? - Concurrent::Channel::Buffer::Unbuffered + #full? + Concurrent::MVar
  • @@ -2102,16 +2166,16 @@
  • - #full? - Concurrent::Channel::Buffer::Sliding + #full? + Concurrent::Channel::Buffer::Unbuffered
  • - #full? - Concurrent::Channel::Buffer::Base + #full? + Concurrent::Channel::Buffer::Sliding
  • @@ -2142,16 +2206,16 @@
  • - #future - Concurrent::Actor::Envelope + #future + Concurrent::Promises::FactoryMethods
  • - #future - Concurrent::Promises::FactoryMethods + #future + Concurrent::Actor::Envelope
  • @@ -2174,8 +2238,8 @@
  • - #get - Concurrent::ThreadSafe::Util::XorShiftRandom + #get + Concurrent::AtomicReference
  • @@ -2190,24 +2254,24 @@
  • - #get - Concurrent::AtomicReference + #get + Concurrent::ThreadSafe::Util::XorShiftRandom
  • - #get_and_set - Concurrent::Map + #get_and_set + Concurrent::AtomicReference
  • - #get_and_set - Concurrent::AtomicReference + #get_and_set + Concurrent::Map
  • @@ -2342,392 +2406,8 @@
  • - #initialize - Concurrent::ReadWriteLock -
    -
  • - - -
  • -
    - #initialize - Concurrent::Transaction -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::ActorTerminated -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Selector::DefaultClause -
    -
  • - - -
  • -
    - #initialize - Concurrent::TVar -
    -
  • - - -
  • -
    - #initialize - Concurrent::Semaphore -
    -
  • - - -
  • -
    - #initialize - Concurrent::ScheduledTask -
    -
  • - - -
  • -
    - #initialize - Concurrent::Synchronization::Object -
    -
  • - - -
  • -
    - #initialize - Concurrent::AtomicMarkableReference -
    -
  • - - -
  • -
    - #initialize - Concurrent::SingleThreadExecutor -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::Buffer -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Core -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Selector::ErrorClause -
    -
  • - - -
  • -
    - #initialize - Concurrent::Event -
    -
  • - - -
  • -
    - #initialize - Concurrent::AtomicReference -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::SetResults -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::UnknownMessage -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Tick -
    -
  • - - -
  • -
    - #initialize - Concurrent::MVar -
    -
  • - - -
  • -
    - #initialize - Concurrent::Tuple -
    -
  • - - -
  • -
    - #initialize - Concurrent::CountDownLatch -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::Abstract -
    -
  • - - -
  • -
    - #initialize - Concurrent::IndirectImmediateExecutor -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Selector::AfterClause -
    -
  • - - -
  • -
    - #initialize - Concurrent::ThreadLocalVar -
    -
  • - - -
  • -
    - #initialize - Concurrent::IVar -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Utils::Broadcast -
    -
  • - - -
  • -
    - #initialize - Concurrent::Promises::Channel -
    -
  • - - -
  • -
    - #initialize - Concurrent::Synchronization::Condition -
    -
  • - - -
  • -
    - #initialize - Concurrent::LockFreeQueue::Node -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Utils::AsAdHoc -
    -
  • - - -
  • -
    - #initialize - Concurrent::Collection::CopyOnWriteObserverSet -
    -
  • - - -
  • -
    - #initialize - Concurrent::Atom -
    -
  • - - -
  • -
    - #initialize - Concurrent::Edge::LockFreeLinkedSet::Tail -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::Supervising -
    -
  • - - -
  • -
    - #initialize - Concurrent::TimerTask -
    -
  • - - -
  • -
    - #initialize - Concurrent::ThreadPoolExecutor -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Buffer::Base -
    -
  • - - -
  • -
    - #initialize - Concurrent::Exchanger -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::Termination -
    -
  • - - -
  • -
    - #initialize - Concurrent::LockFreeStack::Node -
    -
  • - - -
  • -
    - #initialize - Concurrent::FixedThreadPool -
    -
  • - - -
  • -
    - #initialize - Concurrent::SerializedExecutionDelegator -
    -
  • - - -
  • -
    - #initialize - Concurrent::Edge::LockFreeLinkedSet -
    -
  • - - -
  • -
    - #initialize - Concurrent::Delay -
    -
  • - - -
  • -
    - #initialize - Concurrent::TimerSet -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel -
    -
  • - - -
  • -
    - #initialize - Concurrent::Edge::LockFreeLinkedSet::Window -
    -
  • - - -
  • -
    - #initialize - Concurrent::Edge::LockFreeLinkedSet::Node + #initialize + Concurrent::Agent
  • @@ -2742,21 +2422,93 @@
  • - #initialize - Concurrent::Actor::Behaviour::Pausing + #initialize + Concurrent::ScheduledTask
  • - #initialize - Concurrent::Agent + #initialize + Concurrent::Throttle
  • +
    + #initialize + Concurrent::Edge::LockFreeLinkedSet +
    +
  • + + +
  • +
    + #initialize + Concurrent::TimerSet +
    +
  • + + +
  • +
    + #initialize + Concurrent::AtomicFixnum +
    +
  • + + +
  • +
    + #initialize + Concurrent::LockFreeStack +
    +
  • + + +
  • +
    + #initialize + Concurrent::Event +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Supervising +
    +
  • + + +
  • +
    + #initialize + Concurrent::Edge::LockFreeLinkedSet::Window +
    +
  • + + +
  • +
    + #initialize + Concurrent::TimerTask +
    +
  • + + +
  • +
    + #initialize + Concurrent::Exchanger +
    +
  • + + +
  • #initialize Concurrent::AtomicBoolean @@ -2764,50 +2516,10 @@
  • -
  • -
    - #initialize - Concurrent::Channel::ValidationError -
    -
  • - -
  • - #initialize - Concurrent::Agent::ValidationError -
    -
  • - - -
  • -
    - #initialize - Concurrent::Agent::Error -
    -
  • - - -
  • -
    - #initialize - Concurrent::Actor::Behaviour::Linking -
    -
  • - - -
  • -
    - #initialize - Concurrent::CyclicBarrier -
    -
  • - - -
  • -
    - #initialize - Concurrent::ReentrantReadWriteLock + #initialize + Concurrent::Promises::Channel
  • @@ -2822,45 +2534,85 @@
  • - #initialize - Concurrent::Actor::Root + #initialize + Concurrent::CyclicBarrier
  • - #initialize - Concurrent::SerializedExecution + #initialize + Concurrent::SerializedExecutionDelegator
  • - #initialize - Concurrent::MultipleErrors + #initialize + Concurrent::ReadWriteLock
  • - #initialize - Concurrent::Map + #initialize + Concurrent::Channel::Selector::DefaultClause
  • - #initialize - Concurrent::Channel::Selector::PutClause + #initialize + Concurrent::Actor::Utils::AsAdHoc
  • +
    + #initialize + Concurrent::Synchronization::Object +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Buffer::Base +
    +
  • + + +
  • +
    + #initialize + Concurrent::Promise +
    +
  • + + +
  • +
    + #initialize + Concurrent::Edge::LockFreeLinkedSet::Tail +
    +
  • + + +
  • +
    + #initialize + Concurrent::AtomicReference +
    +
  • + + +
  • #initialize Concurrent::Future @@ -2868,26 +2620,82 @@
  • +
  • +
    + #initialize + Concurrent::MultipleErrors +
    +
  • + +
  • - #initialize - Concurrent::Throttle + #initialize + Concurrent::CountDownLatch
  • - #initialize - Concurrent::AtomicFixnum + #initialize + Concurrent::MultipleAssignmentError
  • - #initialize - Concurrent::MultipleAssignmentError + #initialize + Concurrent::ThreadLocalVar +
    +
  • + + +
  • +
    + #initialize + Concurrent::Tuple +
    +
  • + + +
  • +
    + #initialize + Concurrent::Edge::LockFreeLinkedSet::Node +
    +
  • + + +
  • +
    + #initialize + Concurrent::Synchronization::Condition +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Selector::ErrorClause +
    +
  • + + +
  • +
    + #initialize + Concurrent::LockFreeStack::Node +
    +
  • + + +
  • +
    + #initialize + Concurrent::FixedThreadPool
  • @@ -2908,22 +2716,6 @@ -
  • -
    - #initialize - Concurrent::Collection::CopyOnNotifyObserverSet -
    -
  • - - -
  • -
    - #initialize - Concurrent::Channel::Selector::TakeClause -
    -
  • - -
  • #initialize @@ -2934,8 +2726,24 @@
  • - #initialize - Concurrent::Promise + #initialize + Concurrent::Delay +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Tick +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Selector::AfterClause
  • @@ -2950,32 +2758,272 @@
  • - #initialize - Concurrent::LazyRegister + #initialize + Concurrent::Channel
  • - #inspect - Concurrent::MutableStruct + #initialize + Concurrent::SerializedExecution
  • - #inspect - Concurrent::ImmutableStruct + #initialize + Concurrent::Actor::UnknownMessage
  • - #inspect - Concurrent::MultipleAssignmentError + #initialize + Concurrent::LockFreeQueue::Node +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Utils::Broadcast +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::ActorTerminated +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Root +
    +
  • + + +
  • +
    + #initialize + Concurrent::Agent::ValidationError +
    +
  • + + +
  • +
    + #initialize + Concurrent::Agent::Error +
    +
  • + + +
  • +
    + #initialize + Concurrent::Transaction +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Buffer +
    +
  • + + +
  • +
    + #initialize + Concurrent::ThreadPoolExecutor +
    +
  • + + +
  • +
    + #initialize + Concurrent::TVar +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::ValidationError +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Linking +
    +
  • + + +
  • +
    + #initialize + Concurrent::SingleThreadExecutor +
    +
  • + + +
  • +
    + #initialize + Concurrent::AtomicMarkableReference +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Pausing +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Selector::TakeClause +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Core +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::SetResults +
    +
  • + + +
  • +
    + #initialize + Concurrent::MVar +
    +
  • + + +
  • +
    + #initialize + Concurrent::ReentrantReadWriteLock +
    +
  • + + +
  • +
    + #initialize + Concurrent::Channel::Selector::PutClause +
    +
  • + + +
  • +
    + #initialize + Concurrent::IVar +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Abstract +
    +
  • + + +
  • +
    + #initialize + Concurrent::Atom +
    +
  • + + +
  • +
    + #initialize + Concurrent::Actor::Behaviour::Termination +
    +
  • + + +
  • +
    + #initialize + Concurrent::IndirectImmediateExecutor +
    +
  • + + +
  • +
    + #initialize + Concurrent::Collection::CopyOnWriteObserverSet +
    +
  • + + +
  • +
    + #initialize + Concurrent::Collection::CopyOnNotifyObserverSet +
    +
  • + + +
  • +
    + #initialize + Concurrent::Map +
    +
  • + + +
  • +
    + #initialize + Concurrent::Semaphore +
    +
  • + + +
  • +
    + #initialize + Concurrent::LazyRegister
  • @@ -2988,6 +3036,22 @@ +
  • +
    + #inspect + Concurrent::MultipleAssignmentError +
    +
  • + + +
  • +
    + #inspect + Concurrent::MutableStruct +
    +
  • + +
  • #inspect @@ -2997,6 +3061,14 @@
  • +
    + #inspect + Concurrent::ImmutableStruct +
    +
  • + + +
  • #inspection_data Concurrent::MultipleAssignmentError @@ -3004,7 +3076,7 @@
  • -
  • +
  • #item Concurrent::LockFreeQueue::Node @@ -3012,7 +3084,7 @@
  • -
  • +
  • #join Concurrent::Cancellation::Token @@ -3020,7 +3092,7 @@
  • -
  • +
  • #just Concurrent::Maybe @@ -3028,7 +3100,7 @@
  • -
  • +
  • just Concurrent::Maybe @@ -3036,7 +3108,7 @@
  • -
  • +
  • #just? Concurrent::Maybe @@ -3044,7 +3116,7 @@
  • -
  • +
  • #key Concurrent::Edge::LockFreeLinkedSet::Node @@ -3052,7 +3124,7 @@
  • -
  • +
  • #key Concurrent::Map @@ -3060,7 +3132,7 @@
  • -
  • +
  • #key_for Concurrent::Edge::LockFreeLinkedSet::Node @@ -3068,7 +3140,7 @@
  • -
  • +
  • #keys Concurrent::Map @@ -3076,7 +3148,7 @@
  • -
  • +
  • #kill Concurrent::SingleThreadExecutor @@ -3084,7 +3156,7 @@
  • -
  • +
  • #kill Concurrent::ThreadPoolExecutor @@ -3092,14 +3164,6 @@
  • -
  • -
    - #kill - Concurrent::TimerSet -
    -
  • - -
  • #kill @@ -3109,6 +3173,14 @@
  • +
    + #kill + Concurrent::TimerSet +
    +
  • + + +
  • #largest_length Concurrent::ThreadPoolExecutor @@ -3116,7 +3188,7 @@
  • -
  • +
  • #last? Concurrent::Edge::LockFreeLinkedSet::Node @@ -3124,7 +3196,7 @@
  • -
  • +
  • leave_transaction Concurrent @@ -3132,7 +3204,7 @@
  • -
  • +
  • #length Concurrent::ThreadPoolExecutor @@ -3140,7 +3212,7 @@
  • -
  • +
  • #limit Concurrent::Throttle @@ -3148,7 +3220,7 @@
  • -
  • +
  • #link Concurrent::Actor::Behaviour::Linking @@ -3156,7 +3228,7 @@
  • -
  • +
  • linking Concurrent::Actor::Behaviour @@ -3164,14 +3236,6 @@
  • -
  • -
    - #log - Concurrent::Actor::InternalDelegations -
    -
  • - -
  • #log @@ -3181,6 +3245,14 @@
  • +
    + #log + Concurrent::Actor::InternalDelegations +
    +
  • + + +
  • #loop_until_canceled Concurrent::Cancellation::Token @@ -3188,7 +3260,7 @@
  • -
  • +
  • #mailbox Concurrent::ProcessingActor @@ -3196,7 +3268,7 @@
  • -
  • +
  • #make_false Concurrent::AtomicBoolean @@ -3204,7 +3276,7 @@
  • -
  • +
  • #make_future Concurrent::Promises::FactoryMethods @@ -3212,7 +3284,7 @@
  • -
  • +
  • #make_true Concurrent::AtomicBoolean @@ -3220,7 +3292,7 @@
  • -
  • +
  • #map Concurrent::Actor::Reference @@ -3228,7 +3300,7 @@
  • -
  • +
  • #mark Concurrent::AtomicMarkableReference @@ -3236,7 +3308,7 @@
  • -
  • +
  • #marshal_dump Concurrent::Map @@ -3244,7 +3316,7 @@
  • -
  • +
  • #marshal_load Concurrent::Map @@ -3252,7 +3324,7 @@
  • -
  • +
  • #max_length Concurrent::ThreadPoolExecutor @@ -3260,7 +3332,7 @@
  • -
  • +
  • #max_queue Concurrent::ThreadPoolExecutor @@ -3268,7 +3340,7 @@
  • -
  • +
  • #merge Concurrent::ImmutableStruct @@ -3276,7 +3348,7 @@
  • -
  • +
  • #merge Concurrent::MutableStruct @@ -3284,7 +3356,7 @@
  • -
  • +
  • #merge Concurrent::SettableStruct @@ -3292,7 +3364,7 @@
  • -
  • +
  • #merge_pair Concurrent::Map @@ -3300,14 +3372,6 @@
  • -
  • -
    - #message - Concurrent::Actor::Reference -
    -
  • - -
  • #message @@ -3317,6 +3381,14 @@
  • +
    + #message + Concurrent::Actor::Reference +
    +
  • + + +
  • #min_length Concurrent::ThreadPoolExecutor @@ -3324,7 +3396,7 @@
  • -
  • +
  • #modify Concurrent::MVar @@ -3332,7 +3404,7 @@
  • -
  • +
  • #modify! Concurrent::MVar @@ -3340,7 +3412,7 @@
  • -
  • +
  • #monotonic Concurrent::Channel::Tick @@ -3348,7 +3420,7 @@
  • -
  • +
  • monotonic_time Concurrent @@ -3356,14 +3428,6 @@
  • -
  • -
    - #name - Concurrent::Actor::Core -
    -
  • - -
  • #name @@ -3374,8 +3438,8 @@
  • - new - Concurrent::Synchronization::Object + #name + Concurrent::Actor::Core
  • @@ -3388,6 +3452,22 @@ +
  • +
    + new + Concurrent::Async +
    +
  • + + +
  • +
    + new + Concurrent::ImmutableStruct +
    +
  • + +
  • new @@ -3398,21 +3478,13 @@
  • - new - Concurrent::Async + new + Concurrent::Synchronization::Object
  • -
    - new - Concurrent::ImmutableStruct -
    -
  • - - -
  • new_fast_executor Concurrent @@ -3420,7 +3492,7 @@
  • -
  • +
  • new_io_executor Concurrent @@ -3428,14 +3500,6 @@
  • -
  • -
    - #next - Concurrent::Channel -
    -
  • - -
  • #next @@ -3444,22 +3508,6 @@
  • -
  • -
    - #next - Concurrent::Channel::Buffer::Timer -
    -
  • - - -
  • -
    - #next - Concurrent::Channel::Buffer::Buffered -
    -
  • - -
  • #next @@ -3470,7 +3518,7 @@
  • - #next? + #next Concurrent::Channel
  • @@ -3478,8 +3526,24 @@
  • - #next_node - Concurrent::LockFreeStack::Node + #next + Concurrent::Channel::Buffer::Buffered +
    +
  • + + +
  • +
    + #next + Concurrent::Channel::Buffer::Timer +
    +
  • + + +
  • +
    + #next? + Concurrent::Channel
  • @@ -3494,16 +3558,16 @@
  • - #next_node - Concurrent::LockFreeStack::Empty + next_node + Node[nil, nil]
  • - nothing - Concurrent::Maybe + #next_node + Concurrent::LockFreeStack::Node
  • @@ -3518,13 +3582,21 @@
  • - #nothing? + nothing Concurrent::Maybe
  • +
    + #nothing? + Concurrent::Maybe +
    +
  • + + +
  • #notify_and_delete_observers Concurrent::Collection::CopyOnNotifyObserverSet @@ -3532,7 +3604,7 @@
  • -
  • +
  • #notify_and_delete_observers Concurrent::Collection::CopyOnWriteObserverSet @@ -3540,7 +3612,7 @@
  • -
  • +
  • #notify_observers Concurrent::Collection::CopyOnNotifyObserverSet @@ -3548,7 +3620,7 @@
  • -
  • +
  • #notify_observers Concurrent::Collection::CopyOnWriteObserverSet @@ -3556,7 +3628,7 @@
  • -
  • +
  • #ns_broadcast Concurrent::Synchronization::Condition @@ -3564,7 +3636,7 @@
  • -
  • +
  • #ns_signal Concurrent::Synchronization::Condition @@ -3572,7 +3644,7 @@
  • -
  • +
  • #ns_wait Concurrent::Synchronization::Condition @@ -3580,7 +3652,7 @@
  • -
  • +
  • #ns_wait_until Concurrent::Synchronization::Condition @@ -3588,7 +3660,7 @@
  • -
  • +
  • #number_waiting Concurrent::CyclicBarrier @@ -3596,14 +3668,6 @@
  • -
  • -
    - #offer - Concurrent::Channel -
    -
  • - -
  • #offer @@ -3614,24 +3678,24 @@
  • - #offer - Concurrent::Channel::Buffer::Base + #offer + Concurrent::Channel::Buffer::Timer
  • - #offer - Concurrent::Channel::Buffer::Buffered + #offer + Concurrent::Channel::Buffer::Sliding
  • - #offer - Concurrent::Channel::Buffer::Timer + #offer + Concurrent::Channel::Buffer::Buffered
  • @@ -3646,13 +3710,21 @@
  • - #offer - Concurrent::Channel::Buffer::Sliding + #offer + Concurrent::Channel
  • +
    + #offer + Concurrent::Channel::Buffer::Base +
    +
  • + + +
  • #offer! Concurrent::Channel @@ -3660,7 +3732,7 @@
  • -
  • +
  • #offer? Concurrent::Channel @@ -3668,39 +3740,7 @@
  • -
  • -
    - #on_envelope - Concurrent::Actor::Behaviour::Buffer -
    -
  • - -
  • -
    - #on_envelope - Concurrent::Actor::Behaviour::Pausing -
    -
  • - - -
  • -
    - #on_envelope - Concurrent::Actor::AbstractContext -
    -
  • - - -
  • -
    - #on_envelope - Concurrent::Actor::Behaviour::ErrorsOnUnknownMessage -
    -
  • - - -
  • #on_envelope Concurrent::Actor::Behaviour::Abstract @@ -3708,15 +3748,15 @@
  • -
  • +
  • - #on_envelope - Concurrent::Actor::Behaviour::Linking + #on_envelope + Concurrent::Actor::Behaviour::ErrorsOnUnknownMessage
  • -
  • +
  • #on_envelope Concurrent::Actor::Behaviour::ExecutesContext @@ -3724,14 +3764,6 @@
  • -
  • -
    - #on_envelope - Concurrent::Actor::Core -
    -
  • - -
  • #on_envelope @@ -3764,6 +3796,22 @@
  • +
  • +
    + #on_envelope + Concurrent::Actor::Core +
    +
  • + + +
  • +
    + #on_envelope + Concurrent::Actor::AbstractContext +
    +
  • + +
  • #on_envelope @@ -3774,7 +3822,7 @@
  • - #on_event + #on_envelope Concurrent::Actor::Behaviour::Buffer
  • @@ -3782,23 +3830,7 @@
  • - #on_event - Concurrent::Actor::Behaviour::Pausing -
    -
  • - - -
  • -
    - #on_event - Concurrent::Actor::Behaviour::Abstract -
    -
  • - - -
  • -
    - #on_event + #on_envelope Concurrent::Actor::Behaviour::Linking
  • @@ -3806,8 +3838,8 @@
  • - #on_event - Concurrent::Actor::AbstractContext + #on_envelope + Concurrent::Actor::Behaviour::Pausing
  • @@ -3822,15 +3854,47 @@
  • - #on_fulfillment - Concurrent::Promises::Future + #on_event + Concurrent::Actor::AbstractContext
  • - #on_fulfillment! + #on_event + Concurrent::Actor::Behaviour::Abstract +
    +
  • + + +
  • +
    + #on_event + Concurrent::Actor::Behaviour::Linking +
    +
  • + + +
  • +
    + #on_event + Concurrent::Actor::Behaviour::Pausing +
    +
  • + + +
  • +
    + #on_event + Concurrent::Actor::Behaviour::Buffer +
    +
  • + + +
  • +
    + #on_fulfillment Concurrent::Promises::Future
  • @@ -3838,7 +3902,7 @@
  • - #on_fulfillment_using + #on_fulfillment! Concurrent::Promises::Future
  • @@ -3846,8 +3910,8 @@
  • - #on_message - Concurrent::Actor::AbstractContext + #on_fulfillment_using + Concurrent::Promises::Future
  • @@ -3862,8 +3926,8 @@
  • - #on_message - Concurrent::Actor::Utils::AsAdHoc + #on_message + Concurrent::Actor::DefaultDeadLetterHandler
  • @@ -3876,6 +3940,22 @@ +
  • +
    + #on_message + Concurrent::Actor::Utils::AsAdHoc +
    +
  • + + +
  • +
    + #on_message + Concurrent::Actor::AbstractContext +
    +
  • + +
  • #on_message @@ -3893,14 +3973,6 @@
  • -
    - #on_message - Concurrent::Actor::DefaultDeadLetterHandler -
    -
  • - - -
  • #on_rejection Concurrent::Promises::Future @@ -3908,7 +3980,7 @@
  • -
  • +
  • #on_rejection! Concurrent::Promises::Future @@ -3916,7 +3988,7 @@
  • -
  • +
  • #on_rejection_using Concurrent::Promises::Future @@ -3924,7 +3996,7 @@
  • -
  • +
  • #on_resolution Concurrent::Promises::AbstractEventFuture @@ -3932,7 +4004,7 @@
  • -
  • +
  • #on_resolution! Concurrent::Promises::AbstractEventFuture @@ -3940,7 +4012,7 @@
  • -
  • +
  • #on_resolution_using Concurrent::Promises::AbstractEventFuture @@ -3948,7 +4020,7 @@
  • -
  • +
  • #on_success Concurrent::Promise @@ -3956,7 +4028,7 @@
  • -
  • +
  • #or Concurrent::Maybe @@ -3964,7 +4036,7 @@
  • -
  • +
  • #parent Concurrent::Actor::Core @@ -3972,7 +4044,7 @@
  • -
  • +
  • #parent Concurrent::Actor::PublicDelegations @@ -3980,7 +4052,7 @@
  • -
  • +
  • #parties Concurrent::CyclicBarrier @@ -3988,14 +4060,6 @@
  • -
  • -
    - #pass - Concurrent::Actor::AbstractContext -
    -
  • - -
  • #pass @@ -4005,6 +4069,14 @@
  • +
    + #pass + Concurrent::Actor::AbstractContext +
    +
  • + + +
  • #path Concurrent::Actor::PublicDelegations @@ -4012,7 +4084,7 @@
  • -
  • +
  • #path Concurrent::Actor::Core @@ -4020,7 +4092,7 @@
  • -
  • +
  • #pause! Concurrent::Actor::Behaviour::Pausing @@ -4028,7 +4100,7 @@
  • -
  • +
  • #paused? Concurrent::Actor::Behaviour::Pausing @@ -4036,6 +4108,14 @@
  • +
  • +
    + #peek + Concurrent::LockFreeStack +
    +
  • + +
  • #pending? @@ -4061,14 +4141,6 @@
  • -
    - #poll - Concurrent::Channel -
    -
  • - - -
  • #poll Concurrent::Channel::Buffer::Timer @@ -4076,7 +4148,7 @@
  • -
  • +
  • #poll Concurrent::Channel::Buffer::Base @@ -4084,6 +4156,14 @@
  • +
  • +
    + #poll + Concurrent::Channel +
    +
  • + +
  • #poll @@ -4117,6 +4197,14 @@
  • +
    + #pop + Concurrent::LockFreeStack +
    +
  • + + +
  • #pop Concurrent::Promises::Channel @@ -4124,46 +4212,6 @@
  • -
  • -
    - #post - Concurrent::SerializedExecution -
    -
  • - - -
  • -
    - #post - Concurrent::SerializedExecutionDelegator -
    -
  • - - -
  • -
    - #post - Concurrent::SingleThreadExecutor -
    -
  • - - -
  • -
    - #post - Concurrent::IndirectImmediateExecutor -
    -
  • - - -
  • -
    - #post - Concurrent::ImmediateExecutor -
    -
  • - -
  • #post @@ -4174,7 +4222,7 @@
  • - #post + post Concurrent::SimpleExecutorService
  • @@ -4190,13 +4238,53 @@
  • - post + #post Concurrent::SimpleExecutorService
  • +
    + #post + Concurrent::SingleThreadExecutor +
    +
  • + + +
  • +
    + #post + Concurrent::SerializedExecutionDelegator +
    +
  • + + +
  • +
    + #post + Concurrent::ImmediateExecutor +
    +
  • + + +
  • +
    + #post + Concurrent::SerializedExecution +
    +
  • + + +
  • +
    + #post + Concurrent::IndirectImmediateExecutor +
    +
  • + + +
  • #posts Concurrent::SerializedExecution @@ -4204,7 +4292,7 @@
  • -
  • +
  • #pred Concurrent::Edge::LockFreeLinkedSet::Window @@ -4212,7 +4300,7 @@
  • -
  • +
  • #process_envelope Concurrent::Actor::Core @@ -4220,7 +4308,7 @@
  • -
  • +
  • #process_envelope Concurrent::Actor::Behaviour::Buffer @@ -4228,7 +4316,7 @@
  • -
  • +
  • #process_envelopes? Concurrent::Actor::Behaviour::Buffer @@ -4236,7 +4324,7 @@
  • -
  • +
  • #processing? Concurrent::ScheduledTask @@ -4244,7 +4332,7 @@
  • -
  • +
  • processor_count Concurrent @@ -4252,6 +4340,14 @@
  • +
  • +
    + #push + Concurrent::LockFreeStack +
    +
  • + +
  • #push @@ -4262,24 +4358,40 @@
  • - #put - Concurrent::Channel::Buffer::Buffered + #put + Concurrent::Channel::Buffer::Base
  • - #put - Concurrent::Channel::Buffer::Unbuffered + #put + Concurrent::Channel::Buffer::Buffered
  • - #put - Concurrent::Channel::Buffer::Base + #put + Concurrent::Channel::Buffer::Dropping +
    +
  • + + +
  • +
    + #put + Concurrent::MVar +
    +
  • + + +
  • +
    + #put + Concurrent::Channel::Buffer::Sliding
  • @@ -4292,22 +4404,6 @@ -
  • -
    - #put - Concurrent::MVar -
    -
  • - - -
  • -
    - #put - Concurrent::Channel::Buffer::Dropping -
    -
  • - -
  • #put @@ -4318,8 +4414,8 @@
  • - #put - Concurrent::Channel::Buffer::Sliding + #put + Concurrent::Channel::Buffer::Unbuffered
  • @@ -4374,16 +4470,16 @@
  • - #reason - Concurrent::Promises::Future + #reason + Concurrent::Concern::Obligation
  • - #reason - Concurrent::Concern::Obligation + #reason + Concurrent::Promises::Future
  • @@ -4414,16 +4510,16 @@
  • - #reference - Concurrent::Actor::PublicDelegations + #reference + Concurrent::Actor::Core
  • - #reference - Concurrent::Actor::Core + #reference + Concurrent::Actor::PublicDelegations
  • @@ -4486,16 +4582,16 @@
  • - #rejected? - Concurrent::Concern::Obligation + #rejected? + Concurrent::Promises::Future
  • - #rejected? - Concurrent::Promises::Future + #rejected? + Concurrent::Concern::Obligation
  • @@ -4510,16 +4606,16 @@
  • - #release - Concurrent::Semaphore + #release + Concurrent::Throttle
  • - #release - Concurrent::Throttle + #release + Concurrent::Semaphore
  • @@ -4542,16 +4638,16 @@
  • - #release_write_lock - Concurrent::ReadWriteLock + #release_write_lock + Concurrent::ReentrantReadWriteLock
  • - #release_write_lock - Concurrent::ReentrantReadWriteLock + #release_write_lock + Concurrent::ReadWriteLock
  • @@ -4581,6 +4677,14 @@
  • +
    + #replace_if + Concurrent::LockFreeStack +
    +
  • + + +
  • #replace_if_exists Concurrent::Map @@ -4588,7 +4692,7 @@
  • -
  • +
  • #replace_pair Concurrent::Map @@ -4596,7 +4700,7 @@
  • -
  • +
  • #reschedule Concurrent::ScheduledTask @@ -4604,7 +4708,7 @@
  • -
  • +
  • #rescue Concurrent::Promises::Future @@ -4612,7 +4716,7 @@
  • -
  • +
  • #rescue Concurrent::Promise @@ -4620,7 +4724,7 @@
  • -
  • +
  • #rescue_on Concurrent::Promises::Future @@ -4628,7 +4732,7 @@
  • -
  • +
  • #rescue_throttled_by Concurrent::Promises::Future::ThrottleIntegration @@ -4636,6 +4740,14 @@
  • +
  • +
    + #reset + Concurrent::Atom +
    +
  • + +
  • #reset @@ -4644,22 +4756,6 @@
  • -
  • -
    - #reset - Concurrent::ScheduledTask -
    -
  • - - -
  • -
    - #reset - Concurrent::Atom -
    -
  • - -
  • #reset @@ -4669,6 +4765,14 @@
  • +
    + #reset + Concurrent::ScheduledTask +
    +
  • + + +
  • #reset! Concurrent::Actor::Behaviour::Pausing @@ -4676,7 +4780,7 @@
  • -
  • +
  • #resolvable_event Concurrent::Promises::FactoryMethods @@ -4684,7 +4788,7 @@
  • -
  • +
  • #resolvable_event_on Concurrent::Promises::FactoryMethods @@ -4692,7 +4796,7 @@
  • -
  • +
  • #resolvable_future Concurrent::Promises::FactoryMethods @@ -4700,7 +4804,7 @@
  • -
  • +
  • #resolvable_future_on Concurrent::Promises::FactoryMethods @@ -4708,14 +4812,6 @@
  • -
  • -
    - #resolve - Concurrent::Promises::ResolvableFuture -
    -
  • - -
  • #resolve @@ -4725,6 +4821,14 @@
  • +
    + #resolve + Concurrent::Promises::ResolvableFuture +
    +
  • + + +
  • #resolved? Concurrent::Promises::AbstractEventFuture @@ -4732,7 +4836,7 @@
  • -
  • +
  • #resolved_event Concurrent::Promises::FactoryMethods @@ -4740,7 +4844,7 @@
  • -
  • +
  • #resolved_future Concurrent::Promises::FactoryMethods @@ -4748,7 +4852,7 @@
  • -
  • +
  • #restart Concurrent::Agent @@ -4756,7 +4860,7 @@
  • -
  • +
  • #restart! Concurrent::Actor::Behaviour::Pausing @@ -4764,7 +4868,7 @@
  • -
  • +
  • restarting_behaviour_definition Concurrent::Actor::Behaviour @@ -4772,7 +4876,7 @@
  • -
  • +
  • #result Concurrent::Promises::Future @@ -4780,7 +4884,7 @@
  • -
  • +
  • #resume! Concurrent::Actor::Behaviour::Pausing @@ -4788,7 +4892,7 @@
  • -
  • +
  • root Concurrent::Actor @@ -4796,7 +4900,7 @@
  • -
  • +
  • #run Concurrent::Promises::Future @@ -4804,14 +4908,6 @@
  • -
  • -
    - #running? - Concurrent::ThreadPoolExecutor -
    -
  • - -
  • #running? @@ -4822,8 +4918,8 @@
  • - #running? - Concurrent::TimerTask + #running? + Concurrent::ThreadPoolExecutor
  • @@ -4837,6 +4933,14 @@
  • +
    + #running? + Concurrent::TimerTask +
    +
  • + + +
  • #running? Concurrent::SingleThreadExecutor @@ -4844,7 +4948,7 @@
  • -
  • +
  • safe_initialization! Concurrent::Synchronization::Object @@ -4852,7 +4956,7 @@
  • -
  • +
  • safe_initialization? Concurrent::Synchronization::Object @@ -4860,7 +4964,7 @@
  • -
  • +
  • #schedule Concurrent::Promises::Event @@ -4868,7 +4972,7 @@
  • -
  • +
  • #schedule Concurrent::Promises::Future @@ -4876,7 +4980,7 @@
  • -
  • +
  • #schedule Concurrent::Promises::FactoryMethods @@ -4884,7 +4988,7 @@
  • -
  • +
  • #schedule_execution Concurrent::Actor::Core @@ -4892,7 +4996,7 @@
  • -
  • +
  • #schedule_on Concurrent::Promises::FactoryMethods @@ -4900,7 +5004,7 @@
  • -
  • +
  • #schedule_time Concurrent::ScheduledTask @@ -4908,7 +5012,7 @@
  • -
  • +
  • #scheduled_task_count Concurrent::ThreadPoolExecutor @@ -4916,30 +5020,6 @@
  • -
  • -
    - select - Concurrent::Channel -
    -
  • - - -
  • -
    - #select - Concurrent::SettableStruct -
    -
  • - - -
  • -
    - #select - Concurrent::MutableStruct -
    -
  • - -
  • #select @@ -4949,6 +5029,30 @@
  • +
    + #select + Concurrent::SettableStruct +
    +
  • + + +
  • +
    + #select + Concurrent::MutableStruct +
    +
  • + + +
  • +
    + select + Concurrent::Channel +
    +
  • + + +
  • #select_channel Concurrent::Promises::FactoryMethods::NewChannelIntegration @@ -4956,7 +5060,7 @@
  • -
  • +
  • #send Concurrent::Agent @@ -4964,7 +5068,7 @@
  • -
  • +
  • #send! Concurrent::Agent @@ -4972,7 +5076,7 @@
  • -
  • +
  • #send_off Concurrent::Agent @@ -4980,7 +5084,7 @@
  • -
  • +
  • #send_off! Concurrent::Agent @@ -4988,7 +5092,7 @@
  • -
  • +
  • #send_via Concurrent::Agent @@ -4996,7 +5100,7 @@
  • -
  • +
  • #send_via! Concurrent::Agent @@ -5004,7 +5108,7 @@
  • -
  • +
  • #sender Concurrent::Actor::Envelope @@ -5012,7 +5116,7 @@
  • -
  • +
  • #sender_path Concurrent::Actor::Envelope @@ -5020,7 +5124,7 @@
  • -
  • +
  • #serialized? Concurrent::ThreadPoolExecutor @@ -5028,7 +5132,7 @@
  • -
  • +
  • #serialized? Concurrent::SingleThreadExecutor @@ -5036,14 +5140,6 @@
  • -
  • -
    - #set - Concurrent::AtomicMarkableReference -
    -
  • - -
  • #set @@ -5054,13 +5150,21 @@
  • - #set - Concurrent::IVar + #set + Concurrent::Promise
  • +
    + #set + Concurrent::Tuple +
    +
  • + + +
  • #set Concurrent::AtomicReference @@ -5068,10 +5172,18 @@
  • +
  • +
    + #set + Concurrent::AtomicMarkableReference +
    +
  • + +
  • - #set - Concurrent::Promise + #set + Concurrent::IVar
  • @@ -5085,14 +5197,6 @@
  • -
    - #set - Concurrent::Tuple -
    -
  • - - -
  • #set! Concurrent::MVar @@ -5100,7 +5204,7 @@
  • -
  • +
  • #set? Concurrent::Event @@ -5108,23 +5212,7 @@
  • -
  • -
    - #shutdown - Concurrent::SimpleExecutorService -
    -
  • - -
  • -
    - #shutdown - Concurrent::ThreadPoolExecutor -
    -
  • - - -
  • #shutdown Concurrent::ImmediateExecutor @@ -5132,6 +5220,14 @@
  • +
  • +
    + #shutdown + Concurrent::ThreadPoolExecutor +
    +
  • + +
  • #shutdown @@ -5142,7 +5238,7 @@
  • - #shutdown? + #shutdown Concurrent::SimpleExecutorService
  • @@ -5174,28 +5270,12 @@
  • - #shuttingdown? - Concurrent::ThreadPoolExecutor -
    -
  • - - -
  • -
    - #shuttingdown? + #shutdown? Concurrent::SimpleExecutorService
  • -
  • -
    - #shuttingdown? - Concurrent::ImmediateExecutor -
    -
  • - -
  • #shuttingdown? @@ -5206,24 +5286,40 @@
  • - #signal - Concurrent::Synchronization::Lock + #shuttingdown? + Concurrent::SimpleExecutorService
  • - #signal - Concurrent::Synchronization::Condition + #shuttingdown? + Concurrent::ThreadPoolExecutor
  • - #size - Concurrent::Map + #shuttingdown? + Concurrent::ImmediateExecutor +
    +
  • + + +
  • +
    + #signal + Concurrent::Synchronization::Lock +
    +
  • + + +
  • +
    + #signal + Concurrent::Synchronization::Condition
  • @@ -5238,24 +5334,24 @@
  • - #size - Concurrent::Tuple + #size + Concurrent::Map
  • - #size - Concurrent::Channel::Buffer::Base + #size + Concurrent::Tuple
  • - spawn - Concurrent::Actor::AbstractContext + #size + Concurrent::Channel::Buffer::Base
  • @@ -5270,24 +5366,24 @@
  • - spawn! - Concurrent::Actor + spawn + Concurrent::Actor::AbstractContext
  • - spawn! - Concurrent::Actor::AbstractContext + spawn! + Concurrent::Actor
  • - #state - Concurrent::Promises::AbstractEventFuture + spawn! + Concurrent::Actor::AbstractContext
  • @@ -5301,6 +5397,14 @@
  • +
    + #state + Concurrent::Promises::AbstractEventFuture +
    +
  • + + +
  • #subsequent Concurrent::Actor::Behaviour::Abstract @@ -5308,7 +5412,7 @@
  • -
  • +
  • #successor_reference Concurrent::Edge::LockFreeLinkedSet::Node @@ -5316,7 +5420,7 @@
  • -
  • +
  • supervised Concurrent::Actor::Behaviour @@ -5324,7 +5428,7 @@
  • -
  • +
  • supervising Concurrent::Actor::Behaviour @@ -5332,7 +5436,7 @@
  • -
  • +
  • #swap Concurrent::Atom @@ -5340,6 +5444,30 @@
  • +
  • +
    + #take + Concurrent::MVar +
    +
  • + + +
  • +
    + #take + Concurrent::Channel::Buffer::Timer +
    +
  • + + +
  • +
    + #take + Concurrent::Channel::Buffer::Base +
    +
  • + +
  • #take @@ -5356,22 +5484,6 @@
  • -
  • -
    - #take - Concurrent::MVar -
    -
  • - - -
  • -
    - #take - Concurrent::Channel::Buffer::Timer -
    -
  • - -
  • #take @@ -5381,14 +5493,6 @@
  • -
    - #take - Concurrent::Channel::Buffer::Base -
    -
  • - - -
  • #take! Concurrent::Channel @@ -5396,7 +5500,7 @@
  • -
  • +
  • #take? Concurrent::Channel @@ -5404,23 +5508,7 @@
  • -
  • -
    - #tell - Concurrent::Actor::Reference -
    -
  • - -
  • -
    - #tell - Concurrent::Actor::AbstractContext -
    -
  • - - -
  • #tell Concurrent::ProcessingActor @@ -5428,18 +5516,26 @@
  • +
  • +
    + #tell + Concurrent::Actor::AbstractContext +
    +
  • + +
  • - #tell! - Concurrent::ProcessingActor + #tell + Concurrent::Actor::Reference
  • - #terminate! - Concurrent::Actor::InternalDelegations + #tell! + Concurrent::ProcessingActor
  • @@ -5454,15 +5550,15 @@
  • - #terminated - Concurrent::Actor::Behaviour::Termination + #terminate! + Concurrent::Actor::InternalDelegations
  • - #terminated? + #terminated Concurrent::Actor::Behaviour::Termination
  • @@ -5477,6 +5573,14 @@
  • +
    + #terminated? + Concurrent::Actor::Behaviour::Termination +
    +
  • + + +
  • #termination Concurrent::ProcessingActor @@ -5484,7 +5588,7 @@
  • -
  • +
  • #then Concurrent::Promises::Future @@ -5492,7 +5596,7 @@
  • -
  • +
  • #then Concurrent::Promise @@ -5500,7 +5604,7 @@
  • -
  • +
  • #then_ask Concurrent::Promises::Future::ActorIntegration @@ -5508,7 +5612,7 @@
  • -
  • +
  • #then_flat_event Concurrent::Promises::Future::FlatShortcuts @@ -5516,7 +5620,7 @@
  • -
  • +
  • #then_flat_event_on Concurrent::Promises::Future::FlatShortcuts @@ -5524,7 +5628,7 @@
  • -
  • +
  • #then_flat_future Concurrent::Promises::Future::FlatShortcuts @@ -5532,7 +5636,7 @@
  • -
  • +
  • #then_flat_future_on Concurrent::Promises::Future::FlatShortcuts @@ -5540,7 +5644,7 @@
  • -
  • +
  • #then_on Concurrent::Promises::Future @@ -5548,7 +5652,7 @@
  • -
  • +
  • #then_push_channel Concurrent::Promises::Future::NewChannelIntegration @@ -5556,7 +5660,7 @@
  • -
  • +
  • #then_throttled_by Concurrent::Promises::Future::ThrottleIntegration @@ -5564,7 +5668,7 @@
  • -
  • +
  • #throttled_block Concurrent::Throttle @@ -5572,7 +5676,7 @@
  • -
  • +
  • #throttled_by Concurrent::Promises::AbstractEventFuture::ThrottleIntegration @@ -5580,7 +5684,7 @@
  • -
  • +
  • #throttled_future Concurrent::Throttle::PromisesIntegration @@ -5588,7 +5692,7 @@
  • -
  • +
  • #throttled_future_chain Concurrent::Throttle::PromisesIntegration @@ -5596,7 +5700,7 @@
  • -
  • +
  • ticker Concurrent::Channel @@ -5604,7 +5708,7 @@
  • -
  • +
  • #timeout_interval Concurrent::TimerTask @@ -5612,7 +5716,7 @@
  • -
  • +
  • timer Concurrent::Channel @@ -5620,23 +5724,7 @@
  • -
  • -
    - #to_event - Concurrent::Promises::Event -
    -
  • - -
  • -
    - #to_event - Concurrent::Promises::Future -
    -
  • - - -
  • #to_event Concurrent::Cancellation::Token @@ -5644,18 +5732,26 @@
  • +
  • +
    + #to_event + Concurrent::Promises::Future +
    +
  • + +
  • - #to_future - Concurrent::Cancellation::Token + #to_event + Concurrent::Promises::Event
  • - #to_future - Concurrent::Promises::Event + #to_future + Concurrent::Cancellation::Token
  • @@ -5669,6 +5765,14 @@
  • +
    + #to_future + Concurrent::Promises::Event +
    +
  • + + +
  • #to_h Concurrent::ImmutableStruct @@ -5676,7 +5780,7 @@
  • -
  • +
  • #to_h Concurrent::SettableStruct @@ -5684,7 +5788,7 @@
  • -
  • +
  • #to_h Concurrent::MutableStruct @@ -5692,18 +5796,26 @@
  • +
  • +
    + #to_s + Concurrent::Promises::Channel +
    +
  • + +
  • - #to_s - Concurrent::Cancellation::Token + #to_s + Concurrent::AtomicReference
  • - #to_s - Concurrent::Actor::Reference + #to_s + Concurrent::LockFreeStack
  • @@ -5718,16 +5830,16 @@
  • - #to_s - Concurrent::AtomicFixnum + #to_s + Concurrent::Channel::Tick
  • - #to_s - Concurrent::Promises::Channel + #to_s + Concurrent::Actor::Reference
  • @@ -5740,22 +5852,6 @@ -
  • -
    - #to_s - Concurrent::Cancellation -
    -
  • - - -
  • -
    - #to_s - Concurrent::AtomicReference -
    -
  • - -
  • #to_s @@ -5766,8 +5862,24 @@
  • - #to_s - Concurrent::Channel::Tick + #to_s + Concurrent::Cancellation::Token +
    +
  • + + +
  • +
    + #to_s + Concurrent::Cancellation +
    +
  • + + +
  • +
    + #to_s + Concurrent::AtomicFixnum
  • @@ -5893,14 +6005,6 @@
  • -
    - #try_update - Concurrent::AtomicReference -
    -
  • - - -
  • #try_update Concurrent::AtomicMarkableReference @@ -5908,18 +6012,26 @@
  • +
  • +
    + #try_update + Concurrent::AtomicReference +
    +
  • + +
  • - #try_update! - Concurrent::AtomicMarkableReference + #try_update! + Concurrent::AtomicReference
  • - #try_update! - Concurrent::AtomicReference + #try_update! + Concurrent::AtomicMarkableReference
  • @@ -5974,8 +6086,8 @@
  • - #update - Concurrent::AtomicReference + #update + Concurrent::AtomicFixnum
  • @@ -5990,8 +6102,8 @@
  • - #update - Concurrent::AtomicFixnum + #update + Concurrent::AtomicReference
  • @@ -6037,46 +6149,6 @@
  • -
    - #value - Concurrent::Concern::Dereferenceable -
    -
  • - - -
  • -
    - #value - Concurrent::Atom -
    -
  • - - -
  • -
    - #value - Concurrent::AtomicMarkableReference -
    -
  • - - -
  • -
    - #value - Concurrent::LockFreeStack::Node -
    -
  • - - -
  • -
    - #value - Concurrent::Promises::Future -
    -
  • - - -
  • #value Concurrent::Concern::Obligation @@ -6084,30 +6156,6 @@
  • -
  • -
    - #value - Concurrent::TVar -
    -
  • - - -
  • -
    - #value - Concurrent::Delay -
    -
  • - - -
  • -
    - #value - Concurrent::ThreadLocalVar -
    -
  • - -
  • #value @@ -6116,6 +6164,70 @@
  • +
  • +
    + #value + Concurrent::Atom +
    +
  • + + +
  • +
    + #value + Concurrent::LockFreeStack::Node +
    +
  • + + +
  • +
    + #value + Concurrent::Agent +
    +
  • + + +
  • +
    + #value + Concurrent::Delay +
    +
  • + + +
  • +
    + #value + Concurrent::AtomicMarkableReference +
    +
  • + + +
  • +
    + #value + Concurrent::Promises::Future +
    +
  • + + +
  • +
    + #value + Concurrent::TVar +
    +
  • + + +
  • +
    + #value + Concurrent::ThreadLocalVar +
    +
  • + +
  • #value @@ -6126,8 +6238,8 @@
  • - #value - Concurrent::Agent + #value + Concurrent::Concern::Dereferenceable
  • @@ -6141,14 +6253,6 @@
  • -
    - #value! - Concurrent::Concern::Obligation -
    -
  • - - -
  • #value! Concurrent::Promises::Future @@ -6156,15 +6260,15 @@
  • -
  • +
  • - #value= - Concurrent::TVar + #value! + Concurrent::Concern::Obligation
  • -
  • +
  • #value= Concurrent::AtomicFixnum @@ -6172,7 +6276,7 @@
  • -
  • +
  • #value= Concurrent::AtomicBoolean @@ -6180,7 +6284,7 @@
  • -
  • +
  • #value= Concurrent::ThreadLocalVar @@ -6188,6 +6292,14 @@
  • +
  • +
    + #value= + Concurrent::TVar +
    +
  • + +
  • #value? @@ -6198,24 +6310,24 @@
  • - #values - Concurrent::MutableStruct + #values + Concurrent::SettableStruct
  • - #values - Concurrent::ImmutableStruct + #values + Concurrent::MutableStruct
  • - #values - Concurrent::SettableStruct + #values + Concurrent::ImmutableStruct
  • @@ -6230,24 +6342,24 @@
  • - #values_at - Concurrent::MutableStruct + #values_at + Concurrent::SettableStruct
  • - #values_at - Concurrent::ImmutableStruct + #values_at + Concurrent::MutableStruct
  • - #values_at - Concurrent::SettableStruct + #values_at + Concurrent::ImmutableStruct
  • @@ -6278,8 +6390,8 @@
  • - #wait - Concurrent::Delay + #wait + Concurrent::Synchronization::Lock
  • @@ -6294,24 +6406,24 @@
  • - #wait - Concurrent::Synchronization::Lock + #wait + Concurrent::CountDownLatch
  • - #wait - Concurrent::Event + #wait + Concurrent::Promises::AbstractEventFuture
  • - #wait - Concurrent::CountDownLatch + #wait + Concurrent::Event
  • @@ -6326,16 +6438,16 @@
  • - #wait - Concurrent::Agent + #wait + Concurrent::Delay
  • - #wait - Concurrent::Promises::AbstractEventFuture + #wait + Concurrent::Agent
  • @@ -6357,14 +6469,6 @@
  • -
    - #wait_for_termination - Concurrent::ImmediateExecutor -
    -
  • - - -
  • #wait_for_termination Concurrent::SimpleExecutorService @@ -6372,14 +6476,6 @@
  • -
  • -
    - #wait_for_termination - Concurrent::SingleThreadExecutor -
    -
  • - -
  • #wait_for_termination @@ -6388,6 +6484,22 @@
  • +
  • +
    + #wait_for_termination + Concurrent::ImmediateExecutor +
    +
  • + + +
  • +
    + #wait_for_termination + Concurrent::SingleThreadExecutor +
    +
  • + +
  • #wait_or_cancel @@ -6414,16 +6526,16 @@
  • - #with_default_executor - Concurrent::Promises::AbstractEventFuture + #with_default_executor + Concurrent::Promises::Event
  • - #with_default_executor - Concurrent::Promises::Event + #with_default_executor + Concurrent::Promises::AbstractEventFuture
  • @@ -6462,16 +6574,16 @@
  • - #with_read_lock - Concurrent::ReadWriteLock + #with_read_lock + Concurrent::ReentrantReadWriteLock
  • - #with_read_lock - Concurrent::ReentrantReadWriteLock + #with_read_lock + Concurrent::ReadWriteLock
  • @@ -6517,14 +6629,6 @@
  • -
    - #zip - Concurrent::Promises::Event -
    -
  • - - -
  • #zip Concurrent::Promise @@ -6532,7 +6636,7 @@
  • -
  • +
  • zip Concurrent::Promise @@ -6540,7 +6644,7 @@
  • -
  • +
  • #zip Concurrent::Promises::Future @@ -6548,6 +6652,14 @@
  • +
  • +
    + #zip + Concurrent::Promises::Event +
    +
  • + +
  • #zip_events @@ -6580,6 +6692,22 @@
  • +
  • +
    + #zip_futures_over + Concurrent::Promises::FactoryMethods +
    +
  • + + +
  • +
    + #zip_futures_over_on + Concurrent::Promises::FactoryMethods +
    +
  • + + diff --git a/docs/file.signpost.html b/docs/file.signpost.html index c1126341..337f07bd 100644 --- a/docs/file.signpost.html +++ b/docs/file.signpost.html @@ -63,7 +63,7 @@ diff --git a/docs/index.html b/docs/index.html index 5c22eeb2..7f0143a6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -63,7 +63,7 @@ diff --git a/docs/master/Concurrent.html b/docs/master/Concurrent.html index b9e89ac3..d5aff8c5 100644 --- a/docs/master/Concurrent.html +++ b/docs/master/Concurrent.html @@ -653,12 +653,12 @@ maximum limit/threshold.

    VERSION =
    -
    '1.1.0.pre1'
    +
    '1.1.0.pre2'
    EDGE_VERSION =
    -
    '0.4.0.pre1'
    +
    '0.4.0.pre2'
    NULL_LOGGER =
    diff --git a/docs/master/Concurrent/Promises/AbstractEventFuture.html b/docs/master/Concurrent/Promises/AbstractEventFuture.html index 15651ecc..d4a2352b 100644 --- a/docs/master/Concurrent/Promises/AbstractEventFuture.html +++ b/docs/master/Concurrent/Promises/AbstractEventFuture.html @@ -588,12 +588,12 @@
     
     
    +576
     577
    -578
    -579
    +578
    -
    # File 'lib/concurrent/promises.rb', line 577
    +      
    # File 'lib/concurrent/promises.rb', line 576
     
     def chain(*args, &task)
       chain_on @DefaultExecutor, *args, &task
    @@ -806,12 +806,12 @@ raised exception becomes 
     
     
    +594
     595
    -596
    -597
    +596
    -
    # File 'lib/concurrent/promises.rb', line 595
    +      
    # File 'lib/concurrent/promises.rb', line 594
     
     def chain_on(executor, *args, &task)
       ChainPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -878,12 +878,12 @@ raised exception becomes 
     
     
    +609
     610
    -611
    -612
    +611
    -
    # File 'lib/concurrent/promises.rb', line 610
    +      
    # File 'lib/concurrent/promises.rb', line 609
     
     def chain_resolvable(resolvable)
       on_resolution! { resolvable.resolve_with internal_state }
    @@ -997,12 +997,12 @@ raised exception becomes 
     
     
    +570
     571
    -572
    -573
    +572
    -
    # File 'lib/concurrent/promises.rb', line 571
    +      
    # File 'lib/concurrent/promises.rb', line 570
     
     def default_executor
       @DefaultExecutor
    @@ -1057,12 +1057,12 @@ raised exception becomes 
     
     
    +617
     618
    -619
    -620
    +619
    -
    # File 'lib/concurrent/promises.rb', line 618
    +      
    # File 'lib/concurrent/promises.rb', line 617
     
     def on_resolution(*args, &callback)
       on_resolution_using @DefaultExecutor, *args, &callback
    @@ -1258,12 +1258,12 @@ resolved.

     
     
    +635
     636
    -637
    -638
    +637
    -
    # File 'lib/concurrent/promises.rb', line 636
    +      
    # File 'lib/concurrent/promises.rb', line 635
     
     def on_resolution!(*args, &callback)
       add_callback :callback_on_resolution, args, callback
    @@ -1474,12 +1474,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +653
     654
    -655
    -656
    +655
    -
    # File 'lib/concurrent/promises.rb', line 654
    +      
    # File 'lib/concurrent/promises.rb', line 653
     
     def on_resolution_using(executor, *args, &callback)
       add_callback :async_callback_on_resolution, executor, args, callback
    @@ -1527,12 +1527,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +529
     530
    -531
    -532
    +531
    -
    # File 'lib/concurrent/promises.rb', line 530
    +      
    # File 'lib/concurrent/promises.rb', line 529
     
     def pending?
       !internal_state.resolved?
    @@ -1580,12 +1580,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +535
     536
    -537
    -538
    +537
    -
    # File 'lib/concurrent/promises.rb', line 536
    +      
    # File 'lib/concurrent/promises.rb', line 535
     
     def resolved?
       internal_state.resolved?
    @@ -1699,12 +1699,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +523
     524
    -525
    -526
    +525
    -
    # File 'lib/concurrent/promises.rb', line 524
    +      
    # File 'lib/concurrent/promises.rb', line 523
     
     def state
       internal_state.to_sym
    @@ -1831,12 +1831,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +599
     600
    -601
    -602
    +601
    -
    # File 'lib/concurrent/promises.rb', line 600
    +      
    # File 'lib/concurrent/promises.rb', line 599
     
     def to_s
       format '%s %s>', super[0..-2], state
    @@ -1885,13 +1885,13 @@ executed. This method is called by any other method requiring resolved state, li
           
     
     
    +542
     543
     544
    -545
    -546
    +545
    -
    # File 'lib/concurrent/promises.rb', line 543
    +      
    # File 'lib/concurrent/promises.rb', line 542
     
     def touch
       @Promise.touch
    @@ -1975,13 +1975,13 @@ and it was resolved, false implies it was not resolved within timeout.

     
     
    +558
     559
     560
    -561
    -562
    +561
    -
    # File 'lib/concurrent/promises.rb', line 559
    +      
    # File 'lib/concurrent/promises.rb', line 558
     
     def wait(timeout = nil)
       result = wait_until_resolved(timeout)
    @@ -2057,12 +2057,12 @@ Any futures depending on it will use the new default executor.

     
     
    +663
     664
    -665
    -666
    +665
    -
    # File 'lib/concurrent/promises.rb', line 664
    +      
    # File 'lib/concurrent/promises.rb', line 663
     
     def with_default_executor(executor)
       raise NotImplementedError
    diff --git a/docs/master/Concurrent/Promises/Event.html b/docs/master/Concurrent/Promises/Event.html
    index e0747ffd..3d059994 100644
    --- a/docs/master/Concurrent/Promises/Event.html
    +++ b/docs/master/Concurrent/Promises/Event.html
    @@ -359,12 +359,12 @@ resolves.

     
     
    +818
     819
    -820
    -821
    +820
    -
    # File 'lib/concurrent/promises.rb', line 819
    +      
    # File 'lib/concurrent/promises.rb', line 818
     
     def any(event_or_future)
       AnyResolvedEventPromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).event
    @@ -413,13 +413,13 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +828
     829
     830
    -831
    -832
    +831
    -
    # File 'lib/concurrent/promises.rb', line 829
    +      
    # File 'lib/concurrent/promises.rb', line 828
     
     def delay
       event = DelayPromise.new(@DefaultExecutor).event
    @@ -490,15 +490,15 @@ delay into the chain.

     
     
    +840
     841
     842
     843
     844
    -845
    -846
    +845
    -
    # File 'lib/concurrent/promises.rb', line 841
    +      
    # File 'lib/concurrent/promises.rb', line 840
     
     def schedule(intended_time)
       chain do
    @@ -549,12 +549,12 @@ delay into the chain.

     
     
    +858
     859
    -860
    -861
    +860
    -
    # File 'lib/concurrent/promises.rb', line 859
    +      
    # File 'lib/concurrent/promises.rb', line 858
     
     def to_event
       self
    @@ -602,14 +602,14 @@ delay into the chain.

     
     
    +850
     851
     852
     853
    -854
    -855
    +854
    -
    # File 'lib/concurrent/promises.rb', line 851
    +      
    # File 'lib/concurrent/promises.rb', line 850
     
     def to_future
       future = Promises.resolvable_future
    @@ -660,12 +660,12 @@ Any futures depending on it will use the new default executor.

     
     
    +864
     865
    -866
    -867
    +866
    -
    # File 'lib/concurrent/promises.rb', line 865
    +      
    # File 'lib/concurrent/promises.rb', line 864
     
     def with_default_executor(executor)
       EventWrapperPromise.new_blocked_by1(self, executor).event
    @@ -721,16 +721,16 @@ then the result is as described in 
     
     
    +804
     805
     806
     807
     808
     809
    -810
    -811
    +810
    -
    # File 'lib/concurrent/promises.rb', line 805
    +      
    # File 'lib/concurrent/promises.rb', line 804
     
     def zip(other)
       if other.is_a?(Future)
    diff --git a/docs/master/Concurrent/Promises/FactoryMethods.html b/docs/master/Concurrent/Promises/FactoryMethods.html
    index c3235f29..2a877222 100644
    --- a/docs/master/Concurrent/Promises/FactoryMethods.html
    +++ b/docs/master/Concurrent/Promises/FactoryMethods.html
    @@ -3282,7 +3282,7 @@ to concurrent-ruby when finalised.
           
    # File 'lib-edge/concurrent/edge/promises.rb', line 179
     
     def zip_futures_over(enumerable, &future_factory)
    -  zip_futures_over_on enumerable, default_executor, &future_factory
    +  zip_futures_over_on default_executor, enumerable, &future_factory
     end
    -
    # File 'lib/concurrent/promises.rb', line 1024
    +      
    # File 'lib/concurrent/promises.rb', line 1023
     
     def any(event_or_future)
       AnyResolvedFuturePromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).future
    @@ -1149,13 +1149,13 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +1033
     1034
     1035
    -1036
    -1037
    +1036
    -
    # File 'lib/concurrent/promises.rb', line 1034
    +      
    # File 'lib/concurrent/promises.rb', line 1033
     
     def delay
       event = DelayPromise.new(@DefaultExecutor).event
    @@ -1229,6 +1229,7 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
           
     
     
    +956
     957
     958
     959
    @@ -1240,11 +1241,10 @@ In other words, it inserts delay into the chain of Futures making rest of it laz
     965
     966
     967
    -968
    -969
    +968
    -
    # File 'lib/concurrent/promises.rb', line 957
    +      
    # File 'lib/concurrent/promises.rb', line 956
     
     def exception(*args)
       raise Concurrent::Error, 'it is not rejected' unless rejected?
    @@ -1303,12 +1303,12 @@ Be careful if the receiver rejects it will just resolve since Event does not hol
           
     
     
    +1068
     1069
    -1070
    -1071
    +1070
    -
    # File 'lib/concurrent/promises.rb', line 1069
    +      
    # File 'lib/concurrent/promises.rb', line 1068
     
     def flat_event
       FlatEventPromise.new_blocked_by1(self, @DefaultExecutor).event
    @@ -1382,12 +1382,12 @@ rejects it will have its rejection.

     
     
    +1058
     1059
    -1060
    -1061
    +1060
    -
    # File 'lib/concurrent/promises.rb', line 1059
    +      
    # File 'lib/concurrent/promises.rb', line 1058
     
     def flat_future(level = 1)
       FlatFuturePromise.new_blocked_by1(self, level, @DefaultExecutor).future
    @@ -1435,13 +1435,13 @@ rejects it will have its rejection.

     
     
    +886
     887
     888
    -889
    -890
    +889
    -
    # File 'lib/concurrent/promises.rb', line 887
    +      
    # File 'lib/concurrent/promises.rb', line 886
     
     def fulfilled?
       state = internal_state
    @@ -1497,12 +1497,12 @@ rejects it will have its rejection.

     
     
    +1074
     1075
    -1076
    -1077
    +1076
    -
    # File 'lib/concurrent/promises.rb', line 1075
    +      
    # File 'lib/concurrent/promises.rb', line 1074
     
     def on_fulfillment(*args, &callback)
       on_fulfillment_using @DefaultExecutor, *args, &callback
    @@ -1605,12 +1605,12 @@ fulfilled. Does nothing on rejection.

     
     
    +1085
     1086
    -1087
    -1088
    +1087
    -
    # File 'lib/concurrent/promises.rb', line 1086
    +      
    # File 'lib/concurrent/promises.rb', line 1085
     
     def on_fulfillment!(*args, &callback)
       add_callback :callback_on_fulfillment, args, callback
    @@ -1729,12 +1729,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1097
     1098
    -1099
    -1100
    +1099
    -
    # File 'lib/concurrent/promises.rb', line 1098
    +      
    # File 'lib/concurrent/promises.rb', line 1097
     
     def on_fulfillment_using(executor, *args, &callback)
       add_callback :async_callback_on_fulfillment, executor, args, callback
    @@ -1789,12 +1789,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1103
     1104
    -1105
    -1106
    +1105
    -
    # File 'lib/concurrent/promises.rb', line 1104
    +      
    # File 'lib/concurrent/promises.rb', line 1103
     
     def on_rejection(*args, &callback)
       on_rejection_using @DefaultExecutor, *args, &callback
    @@ -1897,12 +1897,12 @@ rejected. Does nothing on fulfillment.

     
     
    +1114
     1115
    -1116
    -1117
    +1116
    -
    # File 'lib/concurrent/promises.rb', line 1115
    +      
    # File 'lib/concurrent/promises.rb', line 1114
     
     def on_rejection!(*args, &callback)
       add_callback :callback_on_rejection, args, callback
    @@ -2021,12 +2021,12 @@ global executor. The task is executed on it, default executor remains unchanged.
           
     
     
    +1126
     1127
    -1128
    -1129
    +1128
    -
    # File 'lib/concurrent/promises.rb', line 1127
    +      
    # File 'lib/concurrent/promises.rb', line 1126
     
     def on_rejection_using(executor, *args, &callback)
       add_callback :async_callback_on_rejection, executor, args, callback
    @@ -2116,12 +2116,12 @@ Calls 
     
     
    +922
     923
    -924
    -925
    +924
    -
    # File 'lib/concurrent/promises.rb', line 923
    +      
    # File 'lib/concurrent/promises.rb', line 922
     
     def reason(timeout = nil)
       internal_state.reason if wait_until_resolved timeout
    @@ -2169,13 +2169,13 @@ Calls 
     
     
    +893
     894
     895
    -896
    -897
    +896
    -
    # File 'lib/concurrent/promises.rb', line 894
    +      
    # File 'lib/concurrent/promises.rb', line 893
     
     def rejected?
       state = internal_state
    @@ -2231,12 +2231,12 @@ Calls 
     
     
    +990
     991
    -992
    -993
    +992
    -
    # File 'lib/concurrent/promises.rb', line 991
    +      
    # File 'lib/concurrent/promises.rb', line 990
     
     def rescue(*args, &task)
       rescue_on @DefaultExecutor, *args, &task
    @@ -2357,12 +2357,12 @@ raised exception becomes 
     
     
    +1002
     1003
    -1004
    -1005
    +1004
    -
    # File 'lib/concurrent/promises.rb', line 1003
    +      
    # File 'lib/concurrent/promises.rb', line 1002
     
     def rescue_on(executor, *args, &task)
       RescuePromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -2492,12 +2492,12 @@ on timeout.

     
     
    +933
     934
    -935
    -936
    +935
    -
    # File 'lib/concurrent/promises.rb', line 934
    +      
    # File 'lib/concurrent/promises.rb', line 933
     
     def result(timeout = nil)
       internal_state.result if wait_until_resolved timeout
    @@ -2560,12 +2560,12 @@ will become reason of the returned future.

     
     
    +1142
     1143
    -1144
    -1145
    +1144
    -
    # File 'lib/concurrent/promises.rb', line 1143
    +      
    # File 'lib/concurrent/promises.rb', line 1142
     
     def run
       RunFuturePromise.new_blocked_by1(self, @DefaultExecutor).future
    @@ -2635,15 +2635,15 @@ delay into the chain.

     
     
    +1040
     1041
     1042
     1043
     1044
    -1045
    -1046
    +1045
    -
    # File 'lib/concurrent/promises.rb', line 1041
    +      
    # File 'lib/concurrent/promises.rb', line 1040
     
     def schedule(intended_time)
       chain do
    @@ -2701,12 +2701,12 @@ delay into the chain.

     
     
    +972
     973
    -974
    -975
    +974
    -
    # File 'lib/concurrent/promises.rb', line 973
    +      
    # File 'lib/concurrent/promises.rb', line 972
     
     def then(*args, &task)
       then_on @DefaultExecutor, *args, &task
    @@ -3035,12 +3035,12 @@ raised exception becomes 
     
     
    +984
     985
    -986
    -987
    +986
    -
    # File 'lib/concurrent/promises.rb', line 985
    +      
    # File 'lib/concurrent/promises.rb', line 984
     
     def then_on(executor, *args, &task)
       ThenPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
    @@ -3223,14 +3223,14 @@ May take a moment if the channel is full.

     
     
    +1154
     1155
     1156
     1157
    -1158
    -1159
    +1158
    -
    # File 'lib/concurrent/promises.rb', line 1155
    +      
    # File 'lib/concurrent/promises.rb', line 1154
     
     def to_event
       event = Promises.resolvable_event
    @@ -3280,12 +3280,12 @@ May take a moment if the channel is full.

     
     
    +1162
     1163
    -1164
    -1165
    +1164
    -
    # File 'lib/concurrent/promises.rb', line 1163
    +      
    # File 'lib/concurrent/promises.rb', line 1162
     
     def to_future
       self
    @@ -3375,12 +3375,12 @@ Calls 
     
     
    +911
     912
    -913
    -914
    +913
    -
    # File 'lib/concurrent/promises.rb', line 912
    +      
    # File 'lib/concurrent/promises.rb', line 911
     
     def value(timeout = nil)
       internal_state.value if wait_until_resolved timeout
    @@ -3487,12 +3487,12 @@ Calls 
     
     
    +947
     948
    -949
    -950
    +949
    -
    # File 'lib/concurrent/promises.rb', line 948
    +      
    # File 'lib/concurrent/promises.rb', line 947
     
     def value!(timeout = nil)
       internal_state.value if wait_until_resolved! timeout
    @@ -3592,13 +3592,13 @@ and it was resolved, false implies it was not resolved within timeout.

     
     
    +939
     940
     941
    -942
    -943
    +942
    -
    # File 'lib/concurrent/promises.rb', line 940
    +      
    # File 'lib/concurrent/promises.rb', line 939
     
     def wait!(timeout = nil)
       result = wait_until_resolved!(timeout)
    @@ -3648,12 +3648,12 @@ Any futures depending on it will use the new default executor.

     
     
    +1049
     1050
    -1051
    -1052
    +1051
    -
    # File 'lib/concurrent/promises.rb', line 1050
    +      
    # File 'lib/concurrent/promises.rb', line 1049
     
     def with_default_executor(executor)
       FutureWrapperPromise.new_blocked_by1(self, executor).future
    @@ -3709,16 +3709,16 @@ then the result is as described in 
     
     
    +1008
     1009
     1010
     1011
     1012
     1013
    -1014
    -1015
    +1014
    -
    # File 'lib/concurrent/promises.rb', line 1009
    +      
    # File 'lib/concurrent/promises.rb', line 1008
     
     def zip(other)
       if other.is_a?(Future)
    diff --git a/docs/master/Concurrent/Promises/Future/ThrottleIntegration.html b/docs/master/Concurrent/Promises/Future/ThrottleIntegration.html
    index 24c6518e..1f64b991 100644
    --- a/docs/master/Concurrent/Promises/Future/ThrottleIntegration.html
    +++ b/docs/master/Concurrent/Promises/Future/ThrottleIntegration.html
    @@ -203,12 +203,12 @@
           
     
     
    -193
    -194
    -195
    +191 +192 +193
    -
    # File 'lib-edge/concurrent/edge/throttle.rb', line 193
    +      
    # File 'lib-edge/concurrent/edge/throttle.rb', line 191
     
     def rescue_throttled_by(throttle, *args, &block)
       throttled_by(throttle) { |trigger| trigger.rescue(*args, &block) }
    @@ -286,12 +286,12 @@
           
     
     
    -186
    -187
    -188
    +184 +185 +186
    -
    # File 'lib-edge/concurrent/edge/throttle.rb', line 186
    +      
    # File 'lib-edge/concurrent/edge/throttle.rb', line 184
     
     def then_throttled_by(throttle, *args, &block)
       throttled_by(throttle) { |trigger| trigger.then(*args, &block) }
    diff --git a/docs/master/Concurrent/Promises/ResolvableEvent.html b/docs/master/Concurrent/Promises/ResolvableEvent.html
    index 7edac314..52d73911 100644
    --- a/docs/master/Concurrent/Promises/ResolvableEvent.html
    +++ b/docs/master/Concurrent/Promises/ResolvableEvent.html
    @@ -266,12 +266,12 @@ is already resolved.

     
     
    +1230
     1231
    -1232
    -1233
    +1232
    -
    # File 'lib/concurrent/promises.rb', line 1231
    +      
    # File 'lib/concurrent/promises.rb', line 1230
     
     def resolve(raise_on_reassign = true)
       resolve_with RESOLVED, raise_on_reassign
    @@ -319,12 +319,12 @@ is already resolved.

     
     
    +1237
     1238
    -1239
    -1240
    +1239
    -
    # File 'lib/concurrent/promises.rb', line 1238
    +      
    # File 'lib/concurrent/promises.rb', line 1237
     
     def with_hidden_resolvable
       @with_hidden_resolvable ||= EventWrapperPromise.new_blocked_by1(self, @DefaultExecutor).event
    diff --git a/docs/master/Concurrent/Promises/ResolvableFuture.html b/docs/master/Concurrent/Promises/ResolvableFuture.html
    index 1ace1fdd..af332b2b 100644
    --- a/docs/master/Concurrent/Promises/ResolvableFuture.html
    +++ b/docs/master/Concurrent/Promises/ResolvableFuture.html
    @@ -377,12 +377,12 @@ an exception the future rejects with it.

     
     
    +1275
     1276
    -1277
    -1278
    +1277
    -
    # File 'lib/concurrent/promises.rb', line 1276
    +      
    # File 'lib/concurrent/promises.rb', line 1275
     
     def evaluate_to(*args, &block)
       promise.evaluate_to(*args, block)
    @@ -482,12 +482,12 @@ an exception the future rejects with it.

     
     
    +1285
     1286
    -1287
    -1288
    +1287
    -
    # File 'lib/concurrent/promises.rb', line 1286
    +      
    # File 'lib/concurrent/promises.rb', line 1285
     
     def evaluate_to!(*args, &block)
       promise.evaluate_to(*args, block).wait!
    @@ -562,12 +562,12 @@ is already resolved.

     
     
    +1258
     1259
    -1260
    -1261
    +1260
    -
    # File 'lib/concurrent/promises.rb', line 1259
    +      
    # File 'lib/concurrent/promises.rb', line 1258
     
     def fulfill(value, raise_on_reassign = true)
       promise.fulfill(value, raise_on_reassign)
    @@ -642,12 +642,12 @@ is already resolved.

     
     
    +1266
     1267
    -1268
    -1269
    +1268
    -
    # File 'lib/concurrent/promises.rb', line 1267
    +      
    # File 'lib/concurrent/promises.rb', line 1266
     
     def reject(reason, raise_on_reassign = true)
       promise.reject(reason, raise_on_reassign)
    @@ -722,12 +722,12 @@ is already resolved.

     
     
    +1250
     1251
    -1252
    -1253
    +1252
    -
    # File 'lib/concurrent/promises.rb', line 1251
    +      
    # File 'lib/concurrent/promises.rb', line 1250
     
     def resolve(fulfilled = true, value = nil, reason = nil, raise_on_reassign = true)
       resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason), raise_on_reassign)
    @@ -775,12 +775,12 @@ is already resolved.

     
     
    +1292
     1293
    -1294
    -1295
    +1294
    -
    # File 'lib/concurrent/promises.rb', line 1293
    +      
    # File 'lib/concurrent/promises.rb', line 1292
     
     def with_hidden_resolvable
       @with_hidden_resolvable ||= FutureWrapperPromise.new_blocked_by1(self, @DefaultExecutor).future
    diff --git a/lib/concurrent/version.rb b/lib/concurrent/version.rb
    index be4b6181..8e51d76e 100644
    --- a/lib/concurrent/version.rb
    +++ b/lib/concurrent/version.rb
    @@ -1,4 +1,4 @@
     module Concurrent
    -  VERSION      = '1.1.0.pre1'
    -  EDGE_VERSION = '0.4.0.pre1'
    +  VERSION      = '1.1.0.pre2'
    +  EDGE_VERSION = '0.4.0.pre2'
     end