Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for prelude.rb #3

Open
kyrylo opened this issue Aug 17, 2012 · 1 comment
Open

support for prelude.rb #3

kyrylo opened this issue Aug 17, 2012 · 1 comment

Comments

@kyrylo
Copy link
Member

kyrylo commented Aug 17, 2012

Description by @jfirebaugh: banister/pry-doc#1

@kyrylo
Copy link
Member Author

kyrylo commented Mar 21, 2013

Ruby-2.0.0-p0 supports Mutex#synchronize.

% pry
[1] pry(main)> pry-version
Pry version: 1.0.0.pre1 on Ruby 2.0.0.
[2] pry(main)> ? Mutex#synchronize

From: thread.c (C Method):
Owner: Mutex
Visibility: public
Signature: synchronize()
Number of lines: 2

Obtains a lock, runs the block, and releases the lock when the block
completes.  See the example under Mutex.

However, Thread.exclusive is still bugged.

[1] pry(main)> ? Thread.exclusive
Error: Could not load source for : No such file or directory - <internal:prelude>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant