in reply to Re: XS: exposing C++ library constant as package variable
in thread XS: exposing C++ library constant as package variable
As for caveats with regard to threading
It's a normal Perl scalar. It will get cloned on thread creation like every other. Each thread will be accessing its own copy of it. No problem.
Update: s/a different/its own/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XS: exposing C++ library constant as package variable
by syphilis (Archbishop) on Oct 08, 2015 at 05:27 UTC | |
by Anonymous Monk on Oct 08, 2015 at 07:46 UTC | |
by ikegami (Patriarch) on Oct 08, 2015 at 17:29 UTC |