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

Fix for threads and XS #92

Merged
merged 1 commit into from
Aug 12, 2018
Merged

Fix for threads and XS #92

merged 1 commit into from
Aug 12, 2018

Conversation

sergeykolychev
Copy link
Contributor

@sergeykolychev sergeykolychev commented Aug 9, 2018

@skaji @gfx
Looks like threading and scalars made by *_share do not mix well.
This deprecates my earlier PR #91 because it's much cleaner fix.
I use Mouse extensively in my module https://metacpan.org/pod/AI::MXNet and all tests passed while using Mouse with change.

Looks like threading and scalars made by *_share do not mix well.
@skaji
Copy link
Member

skaji commented Aug 12, 2018

@sergeykolychev Thanks! I merge this PR.

cf: gfx explains newSVpvn_share in his blog post in japanese
http://d.hatena.ne.jp/gfx/20090508/1241756870

@skaji skaji merged commit a7aa9b2 into xslate:master Aug 12, 2018
skaji added a commit that referenced this pull request Aug 13, 2018
Changelog diff is:

diff --git a/Changes b/Changes
index 7e69336..808e88e 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,8 @@
 Revision history for Mouse

 {{$NEXT}}
+
+v2.5.5 2018-08-13T15:41:32Z
     - Warn if accessors overwrite methods/functions (ybrliiu #86, #90, #93)
     - Fix for threads and XS; use newSVpvs instead of newSVpvs_share (sergeykolychev #92)
skaji added a commit that referenced this pull request Aug 13, 2018
Changelog diff is:

diff --git a/Changes b/Changes
index 808e88e..f31e5e0 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for Mouse

 {{$NEXT}}

+v2.5.6 2018-08-13T22:47:57Z
+    - Revert "Warn if accessors overwrite methods/functions" for now; it may cause crashes in perl 5.28.0 (#94)
+
 v2.5.5 2018-08-13T15:41:32Z
     - Warn if accessors overwrite methods/functions (ybrliiu #86, #90, #93)
     - Fix for threads and XS; use newSVpvs instead of newSVpvs_share (sergeykolychev #92)
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.

2 participants