Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: I prefer to:

by tye (Sage)
on Jan 14, 2007 at 05:30 UTC ( [id://594608]=note: print w/replies, xml ) Need Help??


in reply to I prefer to:

spawn

*mutter* buggered Unix bigots

- tye        

Replies are listed 'Best First'.
Re^2: I prefer to:
by Petruchio (Vicar) on Jan 14, 2007 at 06:07 UTC
    Added. Never let it be said that I am unwilling to accomodate the handicapped! :-)
      In that case, you should add:

        delegate

      To accommodate the PHB. :-)

Re: I prefer to:
by jonadab (Parson) on Jan 15, 2007 at 03:54 UTC

    Okay, I do use Linux and BSD, but I'm not exactly a card-carrying Unix bigot. Non-Unix OSes I've used include PC-DOS 3.3, MS-DOS 5.0, 6.0, 6.22, Win95 OSR2, Win98SE, WinXP, Mac System 6, 7, MacOS 8, 9, BeOS 5PE, and OpenVMS 6, 7.2.

    Yet, I've never heard of spawn in this context before. And I can't seem to find it listed on Wikipedia, either. What type of system is it associated with, and what are the semantic differences between spawn versus fork or threads?

    Also I was under the impression that threading did not originate in the Unix universe but elsewhere were forking was more expensive, and was adopted by the Unix community only later. Was I mistaken?


    Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. You can just call me "Mister Sanity". Why, I've got so much sanity it's driving me crazy.

      You mention VMS. Surely you've heard of lib$spawn(), not to mention the DCL command spawn, which is the natural way of creating a subprocess to do something different from the parent (as distinct from launching a detached process, which is roughly the equivalent of a nohup). The posix layer implements fork, but this is not the native VMS way of doing or thinking about things.

      Digital had a lot to do with the invention of threads. PThreads are a derivative of DecThreads, and VMS was one of the platforms on which they were originally targetted. The reason for this was that there is a substantial overhead in process creation - spawns were expensive, and threads provided a convenient way of multitasking inside a process's address space.

      --

      Oh Lord, won’t you burn me a Knoppix CD ?
      My friends all rate Windows, I must disagree.
      Your powers of persuasion will set them all free,
      So oh Lord, won’t you burn me a Knoppix CD ?
      (Missquoting Janis Joplin)

        Admittedly, my knowledge of VMS is less than my knowledge of most of those other systems, and I am pretty much an end user on that platform (inasmuch as there is any such thing as an end user on VMS). I really should turn on my Vax more often and play around with it more.

        Sanity? Oh, yeah, I've got all kinds of sanity. In fact, I've developed whole new kinds of sanity. You can just call me "Mister Sanity". Why, I've got so much sanity it's driving me crazy.
      Yet, I've never heard of spawn in this context before. And I can't seem to find it listed on Wikipedia, either. What type of system is it associated with, and what are the semantic differences between spawn versus fork or threads?
      It sounds familiar to me, because of the node They didn't give me a fork so I have to eat with a spawn..

      "To spawn" is to produce offspring, hence, creating a child process. No mystery there. You can do it by calling system, for example.

Re^2: I prefer to:
by blue_cowdawg (Monsignor) on Jan 27, 2007 at 19:16 UTC
        *mutter* buggered Unix bigots

    I just tried to find it in an archive somewhere and failed by that remark reminds me of a Dilbert cartoon from years ago that showed a Unix Guru type telling his protagonist "Here kid, here's a nickle, go buy yourself a real computer." One of my all time favorites and I can't find it.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Hi blue_cowdawg,

      Here you go.

      I always liked that one, too.


      s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594608]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-23 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found