-
Notifications
You must be signed in to change notification settings - Fork 560
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
IO::Poll relies on stable stringification of IO handles [rt.cpan.org #93107] #17439
Comments
@lenoerd submitted pull request for testing. |
This sounds like hell once threading gets involved |
I had to fix several things in the tests to be backward compatible. The big problem, though is that this seems to fall on its face on windows. |
@leonerd should this be pursued or closed? |
The problem is still a problem, even if my original suggested fix doesn't work in all cases. We should keep it open awaiting a better fix. |
My guess, without having looked at the code, is that this is because of pseudo-threads: in different threads the handles would have different addresses. If so, the solution may be to use a fieldhash (on 5.10+), or something based on its idea of identities. |
The code is here Dual-Life/IO@b1ad595 |
Migrated from rt.cpan.org#93107 (status was 'new')
Requestors:
Attachments:
From [email protected] on 2014-02-18 01:51:18:
From [email protected] on 2014-02-18 01:55:35:
From [email protected] on 2014-02-20 18:02:29:
The text was updated successfully, but these errors were encountered: