views:

53

answers:

1

Is Ruby's Net::HTTP threadsafe?

(Aside from the version_1_1 and version_1_2 methods which it explicitly says aren't)

+1  A: 

Ruby 1.9 support multi-threading programming, but the runtime selects only one thread to run at a time. It is not concurrent and thus not a real multi-threading. Thread-safe or not is not a concern.

OmniBus