Permalink
Browse files

Add a note to allow non-blocking PKey generation.

It should run in parallel, though. CRuby needs a fix.
  • Loading branch information...
1 parent 3e3d19a commit 26bbc0cf8cc269d07000b2f9ea3398f80c67612f @nahi committed Aug 23, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 defer.rb
View
@@ -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

0 comments on commit 26bbc0c

Please sign in to comment.