in reply to Threading and join/termination question

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Threading and join/termination question

Replies are listed 'Best First'.
Re^2: Threading and join/termination question
by BrowserUk (Patriarch) on Aug 06, 2014 at 20:28 UTC
    this is worthwhile reading:

    No its not. Perl's threads are *NOT* green threads.

    Perl's threads are kernel threads, scheduled by the system scheduler.

    Please don't hand out advise if you don't know what you are talking about.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      My apologies. I get python confused with perl. I know that python uses green threads. The link to libpthread.so proves that I was wrong.
      ldd $(which perl) linux-vdso.so.1 => (0x00007fff22782000) libperl.so.5.18 => /usr/lib/libperl.so.5.18 (0x00007fd0faf9b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd0fabd5000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd0fa9d0000 +) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd0fa6ca000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f +d0fa4ac000) libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007fd0fa +272000) /lib64/ld-linux-x86-64.so.2 (0x00007fd0fb345000)