Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
problem with perl + thread + extension
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Andreas Otto, post: 4868909"] Hi, The problem is solved ... the method reference from: static enum MqErrorE ProcCall ( struct MqS * const context, MQ_PTR const data ) { dSP; SV * method = (SV*) data; enum MqErrorE ret = MQ_OK; ENTER; SAVETMPS; PUSHMARK(SP); XPUSHs((SV*)context->self); PUTBACK; call_sv (method, G_SCALAR|G_DISCARD|G_EVAL); ^^^^^^^^^^^^^^^^^^^ the "method" ^^^^^^^^^^^^^^^^^^^^^^^ ret = ProcError (aTHX_ context, ERRSV); FREETMPS; LEAVE; return ret; } <<<<<<<<<<<<<<<<<<<<< point to the "old" interpreter ... In Fact I call this a libmsgque bug because the "copyConstructor" for this sub-ref is not available in the public perl-api. all other languages have a "copyConstructor" and so the libmsgque code was to throw away the "right" values from the "objectConstructor" and use the "copyConstructor" to set this value to the new value. now libmsgque check if this value was already set in the "objectConstructor" and do !!not!! use the "copyConstructor" (this one not exit in the public perl API) to set it again. mfg Andreas Otto [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
problem with perl + thread + extension
Top