concurrent-ruby 1.1.5 → 1.1.6.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -1
  3. data/Gemfile +2 -2
  4. data/README.md +3 -0
  5. data/Rakefile +13 -10
  6. data/lib/{concurrent-ruby.rb → concurrent-ruby/concurrent-ruby.rb} +0 -0
  7. data/lib/{concurrent.rb → concurrent-ruby/concurrent.rb} +0 -0
  8. data/lib/{concurrent → concurrent-ruby/concurrent}/agent.rb +0 -0
  9. data/lib/{concurrent → concurrent-ruby/concurrent}/array.rb +5 -5
  10. data/lib/{concurrent → concurrent-ruby/concurrent}/async.rb +0 -0
  11. data/lib/{concurrent → concurrent-ruby/concurrent}/atom.rb +1 -1
  12. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/abstract_thread_local_var.rb +0 -0
  13. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/atomic_boolean.rb +2 -2
  14. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/atomic_fixnum.rb +0 -0
  15. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/atomic_markable_reference.rb +0 -0
  16. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/atomic_reference.rb +0 -0
  17. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/count_down_latch.rb +1 -1
  18. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/cyclic_barrier.rb +0 -0
  19. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/event.rb +0 -0
  20. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/java_count_down_latch.rb +0 -0
  21. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/java_thread_local_var.rb +0 -0
  22. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/mutex_atomic_boolean.rb +0 -0
  23. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/mutex_atomic_fixnum.rb +0 -0
  24. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/mutex_count_down_latch.rb +0 -0
  25. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/mutex_semaphore.rb +0 -0
  26. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/read_write_lock.rb +0 -0
  27. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/reentrant_read_write_lock.rb +0 -0
  28. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/ruby_thread_local_var.rb +43 -33
  29. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/semaphore.rb +0 -0
  30. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic/thread_local_var.rb +1 -1
  31. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic_reference/mutex_atomic.rb +0 -0
  32. data/lib/{concurrent → concurrent-ruby/concurrent}/atomic_reference/numeric_cas_wrapper.rb +0 -0
  33. data/lib/{concurrent → concurrent-ruby/concurrent}/atomics.rb +0 -0
  34. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/copy_on_notify_observer_set.rb +0 -0
  35. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/copy_on_write_observer_set.rb +0 -0
  36. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/java_non_concurrent_priority_queue.rb +0 -0
  37. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/lock_free_stack.rb +0 -0
  38. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/map/atomic_reference_map_backend.rb +0 -0
  39. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/map/mri_map_backend.rb +0 -0
  40. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/map/non_concurrent_map_backend.rb +0 -0
  41. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/map/synchronized_map_backend.rb +0 -0
  42. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/non_concurrent_priority_queue.rb +1 -1
  43. data/lib/{concurrent → concurrent-ruby/concurrent}/collection/ruby_non_concurrent_priority_queue.rb +0 -0
  44. data/lib/{concurrent → concurrent-ruby/concurrent}/concern/deprecation.rb +0 -0
  45. data/lib/{concurrent → concurrent-ruby/concurrent}/concern/dereferenceable.rb +2 -2
  46. data/lib/{concurrent → concurrent-ruby/concurrent}/concern/logging.rb +0 -0
  47. data/lib/{concurrent → concurrent-ruby/concurrent}/concern/obligation.rb +0 -0
  48. data/lib/{concurrent → concurrent-ruby/concurrent}/concern/observable.rb +0 -0
  49. data/lib/{concurrent → concurrent-ruby/concurrent}/concurrent_ruby.jar +0 -0
  50. data/lib/{concurrent → concurrent-ruby/concurrent}/configuration.rb +7 -5
  51. data/lib/{concurrent → concurrent-ruby/concurrent}/constants.rb +0 -0
  52. data/lib/{concurrent → concurrent-ruby/concurrent}/dataflow.rb +0 -0
  53. data/lib/{concurrent → concurrent-ruby/concurrent}/delay.rb +0 -0
  54. data/lib/{concurrent → concurrent-ruby/concurrent}/errors.rb +0 -0
  55. data/lib/{concurrent → concurrent-ruby/concurrent}/exchanger.rb +0 -0
  56. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/abstract_executor_service.rb +13 -4
  57. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/cached_thread_pool.rb +5 -4
  58. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/executor_service.rb +0 -0
  59. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/fixed_thread_pool.rb +3 -0
  60. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/immediate_executor.rb +0 -0
  61. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/indirect_immediate_executor.rb +0 -0
  62. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/java_executor_service.rb +0 -4
  63. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/java_single_thread_executor.rb +0 -0
  64. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/java_thread_pool_executor.rb +20 -1
  65. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/ruby_executor_service.rb +0 -0
  66. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/ruby_single_thread_executor.rb +0 -0
  67. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/ruby_thread_pool_executor.rb +9 -2
  68. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/safe_task_executor.rb +0 -0
  69. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/serial_executor_service.rb +0 -0
  70. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/serialized_execution.rb +0 -0
  71. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/serialized_execution_delegator.rb +0 -0
  72. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/simple_executor_service.rb +1 -1
  73. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/single_thread_executor.rb +1 -0
  74. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/thread_pool_executor.rb +0 -0
  75. data/lib/{concurrent → concurrent-ruby/concurrent}/executor/timer_set.rb +0 -0
  76. data/lib/{concurrent → concurrent-ruby/concurrent}/executors.rb +0 -0
  77. data/lib/{concurrent → concurrent-ruby/concurrent}/future.rb +0 -0
  78. data/lib/{concurrent → concurrent-ruby/concurrent}/hash.rb +0 -0
  79. data/lib/{concurrent → concurrent-ruby/concurrent}/immutable_struct.rb +8 -0
  80. data/lib/{concurrent → concurrent-ruby/concurrent}/ivar.rb +0 -0
  81. data/lib/{concurrent → concurrent-ruby/concurrent}/map.rb +1 -1
  82. data/lib/{concurrent → concurrent-ruby/concurrent}/maybe.rb +0 -0
  83. data/lib/{concurrent → concurrent-ruby/concurrent}/mutable_struct.rb +10 -0
  84. data/lib/{concurrent → concurrent-ruby/concurrent}/mvar.rb +0 -0
  85. data/lib/{concurrent → concurrent-ruby/concurrent}/options.rb +0 -0
  86. data/lib/{concurrent → concurrent-ruby/concurrent}/promise.rb +0 -0
  87. data/lib/{concurrent → concurrent-ruby/concurrent}/promises.rb +0 -0
  88. data/lib/{concurrent → concurrent-ruby/concurrent}/re_include.rb +0 -0
  89. data/lib/{concurrent → concurrent-ruby/concurrent}/scheduled_task.rb +0 -0
  90. data/lib/{concurrent → concurrent-ruby/concurrent}/set.rb +5 -5
  91. data/lib/{concurrent → concurrent-ruby/concurrent}/settable_struct.rb +10 -0
  92. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization.rb +0 -0
  93. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/abstract_lockable_object.rb +0 -0
  94. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/abstract_object.rb +0 -0
  95. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/abstract_struct.rb +11 -0
  96. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/condition.rb +0 -0
  97. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/jruby_lockable_object.rb +0 -0
  98. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/jruby_object.rb +0 -0
  99. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/lock.rb +0 -0
  100. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/lockable_object.rb +0 -0
  101. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/mri_object.rb +0 -0
  102. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/mutex_lockable_object.rb +0 -0
  103. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/object.rb +0 -0
  104. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/rbx_lockable_object.rb +0 -0
  105. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/rbx_object.rb +0 -0
  106. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/truffleruby_object.rb +0 -0
  107. data/lib/{concurrent → concurrent-ruby/concurrent}/synchronization/volatile.rb +0 -0
  108. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/synchronized_delegator.rb +0 -0
  109. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util.rb +0 -0
  110. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/adder.rb +0 -0
  111. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/cheap_lockable.rb +0 -0
  112. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/data_structures.rb +0 -0
  113. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/power_of_two_tuple.rb +0 -0
  114. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/striped64.rb +0 -0
  115. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/volatile.rb +0 -0
  116. data/lib/{concurrent → concurrent-ruby/concurrent}/thread_safe/util/xor_shift_random.rb +0 -0
  117. data/lib/{concurrent → concurrent-ruby/concurrent}/timer_task.rb +0 -0
  118. data/lib/{concurrent → concurrent-ruby/concurrent}/tuple.rb +0 -0
  119. data/lib/{concurrent → concurrent-ruby/concurrent}/tvar.rb +0 -0
  120. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/at_exit.rb +1 -2
  121. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/engine.rb +0 -0
  122. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/monotonic_time.rb +0 -0
  123. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/native_extension_loader.rb +0 -0
  124. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/native_integer.rb +0 -0
  125. data/lib/{concurrent → concurrent-ruby/concurrent}/utility/processor_counter.rb +5 -0
  126. data/lib/concurrent-ruby/concurrent/version.rb +3 -0
  127. metadata +128 -127
  128. data/lib/concurrent/version.rb +0 -3
@@ -1,3 +0,0 @@
1
- module Concurrent
2
- VERSION = '1.1.5'
3
- end