Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: what do PERL_SYS_INIT3() and PERL_SYS_TERM() do?

by patcat88 (Deacon)
on Dec 31, 2011 at 05:30 UTC ( #945722=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #define PERL_SYS_INIT3(argc, argv, env)    Perl_sys_init3(argc, argv, 
    +env)
    
  2. or download this
    void
    Perl_sys_init3 (int *argc, char ***argv, char ***env)
    ...
      Perl_win32_init (argc, argv);
      InitializeCriticalSection (&(*Perl_Gperlio_mutex_ptr (0)));
    }
    
  3. or download this
    void
    Perl_win32_init (int *argcp, char ***argvp)
    ...
    
      ansify_path ();
    }
    
  4. or download this
    #define PERL_SYS_TERM()            Perl_sys_term()
    
  5. or download this
    void
    Perl_sys_term ()
    ...
          Perl_win32_term ();
        }
    }
    
  6. or download this
    void
    Perl_win32_term(void)
    ...
        PERLIO_TERM;
        MALLOC_TERM;
    }
    
  7. or download this
    void
    Perl_win32_term (void)
    ...
      while (0);
      ;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945722]
help
Chatterbox?
choroba isn't sure
[choroba]: I plan to break the monolith into modules and create a CPAN App distribution, but I haven't expolored the details yet
[1nickt]: choroba Is it a safe assumption that if there is a threaded perl then the user will want to use Thread::Queue?
[hippo]: Why not?
[1nickt]: That's good! I suppose the cpanfile would be the same however the app distro is structured ...
[1nickt]: hippo no reason why not other than wanting to check an assumption :-)
[hippo]: For a self-contained application which can therefore ensure thread safety it seems like a sensible approach.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2017-10-18 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?