1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Comment rewording

This commit is contained in:
Nicolas Viennot 2013-06-26 14:34:57 -04:00
parent 9c9750671e
commit 4cd2b37501

View file

@ -1,9 +1,10 @@
require 'thread'
class Pry
# There is one InputThreadOwner per input as two REPLs on the same input makes
# things delirious. The most likely usage is to have only one InputThreadOwner
# on STDIN.
# There is one InputLock per input (such as STDIN) as two REPLs on the same
# input makes things delirious. InputLock serializes accesses to the input so
# that threads to not conflict with each other. The latest thread to request
# ownership of the input wins.
class InputLock
class Interrupt < Exception; end