Re: trivial problem with fork

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gowri,

> >./a.out hello
>
> I get a prompt and then see hello and I don't see the prompt after
> hello.
>
the issue with that: it is not fully deterministic which program gets
executed after the fork.  It could be that the shell is scheduled
first....

Show us your code for further explanations.

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux