Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a note to allow non-blocking PKey generation.

It should run in parallel, though. CRuby needs a fix.
  • Loading branch information...
commit 26bbc0cf8cc269d07000b2f9ea3398f80c67612f 1 parent 3e3d19a
@nahi authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  defer.rb
View
2  defer.rb
@@ -3,6 +3,8 @@
def invoke_blocking_process
# It's blocking in CRuby!
# OpenSSL::PKey::RSA.new(4096)
+ # a little better; it allows to switch Threads between iterations
+ # OpenSSL::PKey::RSA.new(4096) {}
STDIN.gets
end
Please sign in to comment.
Something went wrong with that request. Please try again.