Re: About sleep() in child process



sandy wrote:
newgoat wrote:

I just wrote a short program to see process switch when sleep()
is invoked within a process. The code is as follows:

.... snip ...

Try to put some sleep in the parent and then check the output.
.....You will get the exepcted resutts.

Please do not reply to off-topic postings with other than advice as
to what newsgroups may be applicable. The reason is there is
nobody monitoring this newsgroup who has the ability to correct any
possible errors (at least in theory), and that we do not want to
clutter the group with such OT material.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>


.



Relevant Pages

  • Re: Registry cleaners - use of same.
    ... had not yet edited the Newsgroups header to post my reply only to ... parent group). ... child groups then don't post to the parent group. ... Whenever you change the Newsgroups header (to be a different list than ...
    (microsoft.public.security)
  • Re: Registry cleaners - use of same.
    ... My intention was to not post to the child groups ... is the parent of any subgroup in which it is the branch for those ... There are approximately 2,300 newsgroups in these eight ... Whenever you change the Newsgroups header (to be a different list than ...
    (microsoft.public.security)
  • Re: Filed messages re-appearing in Inbox
    ... Sandy - please post new questions as new messages. ... Also - try using a news client, such as Forte Agent, Thunderbird, or even ... Here's information on Usenet and using a newsreader: ... explanation of newsgroups ...
    (microsoft.public.exchange.misc)
  • Re: Einige fFragen zu Vista und Office
    ... Anleitung für die Benutzung der Support Newsgroups: ... Oder ist Sleep dann automatisch hybrid? ... STrom des Laptop weg war (weil Batterie leer, ...
    (microsoft.public.de.windows.vista.sonstiges)
  • Re: Sandy Mann
    ... I'm so sad to hear this news. ... Sandy and I had some pleasant exchanges as our paths crossed on these newsgroups; I'd like to think he enjoyed them as much as I did. ...
    (microsoft.public.excel)