mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Comment rewording
This commit is contained in:
parent
9c9750671e
commit
4cd2b37501
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue