Skip to content

Commit 11a3d3b

Browse files
committed
Updates to new synchronization module
1 parent 53425e8 commit 11a3d3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env rake
22

3-
required 'concurrent/version'
4-
required 'concurrent/native_extensions'
3+
require 'concurrent/version'
4+
require 'concurrent/native_extensions'
55

66
## load the two gemspec files
77
CORE_GEMSPEC = Gem::Specification.load('concurrent-ruby.gemspec')

lib/concurrent/edge/future.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def post_on(executor, *args, &job)
7878
extend FutureShortcuts
7979
include FutureShortcuts
8080

81-
class Event < Concurrent::SynchronizedObject
81+
class Event < Synchronization::Object
8282
extend FutureShortcuts
8383

8484
# @api private
@@ -576,7 +576,7 @@ def pr_async_callback_on_completion(success, value, reason, executor, callback)
576576
# TODO modularize blocked_by and notify blocked
577577

578578
# @abstract
579-
class AbstractPromise < Concurrent::SynchronizedObject
579+
class AbstractPromise < Synchronization::Object
580580
# @api private
581581
def initialize(*args, &block)
582582
super(&nil)

0 commit comments

Comments
 (0)