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 subscript adverb :delete in combination with :kv :p :k :v #158

Merged
merged 3 commits into from Jun 2, 2013
Merged

Support for subscript adverb :delete in combination with :kv :p :k :v #158

merged 3 commits into from Jun 2, 2013

Conversation

lizmat
Copy link
Contributor

@lizmat lizmat commented May 22, 2013

As described in S02:2514. Spectested.

This should fix a few TODO tests. Needs more tests, will do when this is done.

@lizmat
Copy link
Contributor Author

lizmat commented May 22, 2013

I hope this merges cleanly: to be honest, I've lost track of which pull requests have already been merged, and which ones haven't. Hope we can sort this out at the PLPW at the latest!

After discussing this with jnthn at PLPW
lizmat added a commit that referenced this pull request Jun 2, 2013
Support for subscript adverb :delete in combination with :kv :p :k :v
@lizmat lizmat merged commit 12b13e5 into rakudo:nom Jun 2, 2013
zoffixznet added a commit that referenced this pull request Jun 2, 2017
Fixes RT#131479: https://rt.perl.org/Ticket/Display.html?id=131479
Fixes roast/#158: Raku/roast#158

The observed problems are due to multiple .kills in separate threads
ending up calling $*KERNEL.signal, which isn't thread safe, ending
up in it returning a type object, crashing due to return type constraint

Fix by first refactoring[^1] $*KERNEL.signal so only the Str:D
candidate is not thread safe and then refactoring Proc::Async.kill
to use multies for non-Str signals, so we don't have to use
$*KERNEL.signal for those, as for Str signals, we use a lock when calling
$*KERNEL.signal, avoiding race issues.

[1] 79b8ab9d3f
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

Successfully merging this pull request may close these issues.

None yet

1 participant