Thread: Question about fork()!!!

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    12

    Question about fork()!!!

    What is the maximum number of concurrent process,
    UNIX allows to create using fork() call??(In 16-bit processor)

    Thanks in advance.

    Regards,
    Rajisankar.

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    man page fork section 2

    Code:
    ERRORS
    
    [EAGAIN]           The system-imposed limit MAXUPRC (<sys/param.h>) on
                            the total number of processes under execution by a
                            single user would be exceeded.
    What 16bit processor are you programming on? Or are you reading from an ancient text book?

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by rajisankar View Post
    (In 16-bit processor)
    Really? There are linux distros for 16 bit processors?

  4. #4
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Psst, the Linux recursive acronym stands for Linux Is Not UniX. Yes I know it's not an acronym, but it sounds plausable
    But why not? wouldn't surprise me if there were distros that ran on microwaves. The community seems to have a penchant for porting to wild and arcane architectures.

  5. #5
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    The `fork' system call has heritage spanning long before the "Linux" kernel got on the scene.

    Soma

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    Who said anything about Linux anyway? The OP asked about UNIX. POSIX is POSIX though right?

  7. #7
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by sand_man View Post
    Who said anything about Linux anyway? The OP asked about UNIX. POSIX is POSIX though right?
    Ok... my bad...

    I remember uinx on 8 bit machines... but who'd think that kind of hardware would still be in use?

  8. #8
    ---
    Join Date
    May 2004
    Posts
    1,379
    Should be in a museum that's for certain

  9. #9
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    The "Commodore 64" port of an early "UNIX" clone is, surprisingly, still maintained.

    Soma

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about fork()
    By stevenswj in forum C Programming
    Replies: 5
    Last Post: 10-26-2010, 11:56 AM
  2. Question about fork and exec
    By steli89 in forum Linux Programming
    Replies: 4
    Last Post: 04-13-2010, 07:17 AM
  3. fork() question
    By MK27 in forum C Programming
    Replies: 2
    Last Post: 09-21-2008, 12:10 PM
  4. A small question about fork( )
    By mlhazan in forum C Programming
    Replies: 4
    Last Post: 08-13-2008, 08:18 PM
  5. fork() question
    By cstudent in forum C Programming
    Replies: 3
    Last Post: 04-25-2008, 06:48 AM