Google Answers Logo
View Question
 
Q: Process Queue ( Answered,   0 Comments )
Question  
Subject: Process Queue
Category: Computers > Operating Systems
Asked by: ravichodavarapu-ga
List Price: $2.00
Posted: 02 Oct 2002 09:25 PDT
Expires: 01 Nov 2002 08:25 PST
Question ID: 71669
is it possible for a process to wait on more than one event at a time ?

Request for Question Clarification by willie-ga on 02 Oct 2002 09:53 PDT
Could you explain the context a bit for us please? Do you want to know
about queue handling, or process control, or both?
Answer  
Subject: Re: Process Queue
Answered By: maniac-ga on 03 Oct 2002 17:56 PDT
 
Hello Ravichodavarapu,

Yes.

The how depends upon the operating system you are using. A common
method is to create several threads, one to wait for each event. Here
are a number of links to relevant materials.

Interrupt Handling and POSIX Threads (LynxOs)
http://rd13doc.cern.ch/Atlas/Notes/006/Note006-32.html

Wait for one of several signals (Unix, compatible systems)
http://www.opengroup.org/onlinepubs/007904975/functions/sigwaitinfo.html

Implementing condition variables on Win 32
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html

A search with phrases like
  wait multiple events (your system name here)
would provide more specific results.

  --Maniac
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy