Talk About Network

Google





Programming > C - C++ Learning > Re: Is fork() b...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 4073 of 4400
Post > Topic >>

Re: Is fork() bad or dangerous?

by Hal Vaughan <hal@[EMAIL PROTECTED] > Mar 17, 2008 at 12:47 AM

Ian Collins wrote:

> Hal Vaughan wrote:
>> I've been researching threads and, since I'm coming from Perl, where
>> fork()
>> is used, that was my first thought.  I've noticed, while searching,
that
>> there isn't as much on fork() in C++ as one would expect.  Is there a
>> reason for this?  Is fork() considered dangerous or a command to avoid?
>> 
> fork() is a library function, not a command.
> 
> You won't see fork() discussed in a C++ context because it is not part
> of the language (or part of C), it is a POSIX standard function.  So you
> will see it discussed extensively in UNIX texts or on
> comp.unix.programmer.

Which also explains why it's not mentioned in so many sites.  But the few
that did referred to it like it's standard.

Thanks!

Hal
 




 6 Posts in Topic:
Is fork() bad or dangerous?
Hal Vaughan <hal@[EMAI  2008-03-16 23:30:29 
Re: Is fork() bad or dangerous?
Ian Collins <ian-news@  2008-03-17 13:46:00 
Re: Is fork() bad or dangerous?
Hal Vaughan <hal@[EMAI  2008-03-17 00:47:31 
Re: Is fork() bad or dangerous?
Jeff Schwab <jeff@[EMA  2008-03-16 18:08:59 
Re: Is fork() bad or dangerous?
Hal Vaughan <hal@[EMAI  2008-03-17 01:16:04 
Re: Is fork() bad or dangerous?
Jeff Schwab <jeff@[EMA  2008-03-16 20:57:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 10:36:55 PST 2009.