Oxycon Blog
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS
Introducing Threads, Parallelism, and Mutex in plain Ruby

Introducing Threads, Parallelism, and Mutex in plain Ruby

Ruby threads explained in plain Ruby: how threads speed up I/O-heavy work, how race conditions corrupt shared resources, and how a Mutex protects critical sections, with runnable examples and no framework required.

May 6, 2024

ruby
What is cattr_accesor and mattr_accessor, thread_cattr or thread_mattr in Ruby and in Rails? ruby

What is cattr_accesor and mattr_accessor, thread_cattr or thread_mattr in Ruby and in Rails?

cattr_accessor, mattr_accessor, and the thread_cattr and thread_mattr variants explained: ActiveSupport helpers for class-level and module-level attributes, plus thread-safe versions that avoid data inconsistencies in multi-threaded apps. Examples for each accessor, reader, and writer.

Sep 4, 2023

Latest

Page 1 of 1
Oxycon Blog

Thought stories and ideas to Oxygenate You, Your product and The World in practice.

Explore

  • Home
  • About
  • Contact
  • Twitter
  • Instagram
  • OpenSource
  • Github
  • RSS

© 2026 Oxycon Blog. All rights reserved.

We use cookies to improve our services.