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
Overriding built-ins for thread safety is done in an incredibly confusing way #11886
Comments
From @LeontThis is a bug report for perl from fawaka@gmail.com, A lot of perl's built-ins and some core modules are based on POSIX * drand48() [ rand ] Most of these functions have thread-safe/reentrant equivalents (e.g. Another function uses an internal reimplementation that suffers from * system() (its signal handling is a bit problematic in presense of threads). Some of the unsafe functions in POSIX are provided as built-ins, but * localtime() * setenv [ %ENV ] Flags: Site configuration information for perl 5.14.2: Configured by leon at Tue Jan 17 21:29:06 CET 2012. Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: Locally applied patches: @INC for perl 5.14.2: Environment for perl 5.14.2: |
From @craigberryOn Sun, Jan 22, 2012 at 9:30 AM, Leon Timmermans
<snip>
But doesn't Perl use those if available (or advisable, since IIRC some Not that everything needing attention has gotten as much as it needs. /* If compiling for a threaded perl, we will macro-wrap the system/library My impression (based on kinda sorta paying attention to people who But you probably know at least some of this and I've probably missed |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Sun, Jan 22, 2012 at 11:42 PM, Craig A. Berry
I didn't know about that! I find the way this is done Not to mention the fact that it's annoying you can't use them when
Signals and threads are a complicated combination indeed, but
I think I am the one who missed something here. Leon |
From @doySo does this need to stay open? If it does, we should probably at least -doy |
From @LeontOn Tue, Jul 3, 2012 at 7:41 PM, Jesse Luehrs via RT
Not sure. I was mistaken in my OP, but fact is that the code is Leon |
From @doyOn Wed, Jul 04, 2012 at 12:24:53PM +0300, Leon Timmermans wrote:
Alright, I just changed the title for now. -doy |
Migrated from rt.perl.org#108762 (status was 'open')
Searchable as RT108762$
The text was updated successfully, but these errors were encountered: