{"id":2234,"date":"2010-08-21T11:53:00","date_gmt":"2010-08-21T11:53:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2010\/08\/21\/perlfork-perls-fork-emulation\/"},"modified":"2010-08-21T11:53:00","modified_gmt":"2010-08-21T11:53:00","slug":"perlfork-perls-fork-emulation","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2010\/08\/21\/perlfork-perls-fork-emulation\/","title":{"rendered":"perlfork &#8211; Perl&#8217;s fork emulation"},"content":{"rendered":"<p>\t\t\t\t<a href=\"http:\/\/www.xav.com\/perl\/lib\/Pod\/perlfork.html\">perlfork &#8211; Perl&#8217;s fork emulation<\/a><\/p>\n<p>Picked this up on twitter from a conversation between 2 rather well-known hard-core Rubyists (and both certainly former hard-core Perl Mongers):<br \/>\nmy mate\u00a0<a href=\"http:\/\/twitter.com\/JEG2\">James Edward Gray II<\/a>\u00a0(author of the Textmate book, author of the Ruby CSV library modules, renowned I18N guru, contributor to my FRITZ!Box call monitor, \u2026) and <a href=\"http:\/\/twitter.com\/wycats\">Yehuda Katz<\/a>\u00a0(member of Engine Yard, Rails core contributor, \u2026).<\/p>\n<blockquote><p>\n<i><b>SYNOPSIS<\/b><\/i><br \/>\n<i><\/p>\n<p><\/i><\/p>\n<p><i>Perl provides a fork() keyword that corresponds to the Unix system call of the same name. On most Unix-like platforms where the fork() system call is available, Perl&#8217;s fork() simply calls it.<\/i><br \/>\n<i><\/p>\n<p><\/i><br \/>\n<i>On some platforms such as Windows where the fork() system call is not available, Perl can be built to emulate fork() at the interpreter level. <b>While the emulation is designed to be as compatible as possible with the real fork() at the the level of the Perl program<\/b>, there are certain important differences that stem from the fact that all the pseudo child &#8220;processes&#8221; created this way live in the same real process as far as the operating system is concerned.<\/i><br \/>\n<i><\/p>\n<p><\/i><br \/>\n<i>This document provides a general overview of the capabilities and limitations of the fork() emulation. Note that the issues discussed here are not applicable to platforms where a real fork() is available and Perl has been configured to use it.<\/i><\/p><\/blockquote>\n<p>\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>perlfork &#8211; Perl&#8217;s fork emulation Picked this up on twitter from a conversation between 2 rather well-known hard-core Rubyists (and both certainly former hard-core Perl Mongers): my mate\u00a0James Edward Gray II\u00a0(author of the Textmate book, author of the Ruby CSV library modules, renowned I18N guru, contributor to my FRITZ!Box call monitor, \u2026) and Yehuda Katz\u00a0(member [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[281,623,634],"tags":[],"class_list":["post-2234","post","type-post","status-publish","format-standard","hentry","category-jh-avm-fritz-box-call-monitor","category-the-perl-programming-language","category-the-ruby-programming-language"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-A2","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=2234"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/2234\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=2234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=2234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=2234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}