Dear Gowri,

For this you need to implement timer interrupt which will do the desired
process after 3 seconds and continue to work where it left.

yogesh
On Mon, 2003-07-28 at 07:07, R Gowri wrote:
> Hi All,
> 
> I want to wait for an event and timeout after a specific time period 
> specified.
> 
> And it should also wait upon an event, on whose occurence it will 
> conrtinue with the initial processing.
> 
> While waiting it should not use CPU cycles.
> 
> I want to know how to implement this.
> 
> just to be more clear,
> 
> say... sleep(5), when this is sleeping if in the 3rd second the event 
> arrives it should go to its signal handler or whatever and continue with 
> the initial processing before it started sleeping.
> 
> sleep can't be interrupted.
> 
> so how should I implement it?
> 
> Thanks.
> Gowri.
> 
> 
> _______________________________________________
> ilugd mailing list
> [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd



_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to