Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 7 Jul 2004 14:30:13 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Amit Grover cc: cygwin AT cygwin DOT com Subject: Re: Time out server mechanism in cygwin In-Reply-To: <4E9A9436C008314EAA32033B23E96FD90191C3B7@thorondor.wwp.com> Message-ID: References: <4E9A9436C008314EAA32033B23E96FD90191C3B7 AT thorondor DOT wwp DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Wed, 7 Jul 2004, Amit Grover wrote: > Hi, > I read the documents of cygwin but could not find anywhere any > information about timeout server mechanism in cygwin. > > This is what I am trying to achieve, > I am looking for some kind of mechanism (timeout server mechanism) > through which Process A can register some message type and user defined > structure and timeout value (say X) to timeout server and after X > seconds process A get back this message from the timeout server. > > Is there exists any kind of mechanism in cygwin? > > Thanks > Amit Why would you even need a separate server for this? Won't the pthreads functionality let you do what you want within the process (using timed wait of some sort)? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/