August 23rd, 2016, 03:04 AM
#1
Multiple Timer for Linux - Reg
Hi,
I'm using Timer function code for Linux and Windows . Executed this concept in my project(linux based), working good.
i want to use more than one timer. I was change the code and execute, now also running only one timer which one was last defined.
Code:
if(start_timer(1000, &timer_handler))
{
cout<<"\n timer error\n";
//return(1);
}
if(start_delaytimer(2000, &timer_handler1))
{
cout<<"\n timer error\n";
//return(1);
}
while(1)
{
if(var > 10 || var1 > 10)
{
break;
}
}
stop_timer();
stop_delaytimer();
Is possible? Pls help me.
Attached Files
Regards,
SaraswathiSrinath
August 23rd, 2016, 05:07 AM
#2
Re: Multiple Timer for Linux - Reg
Did you try to google for multiple timers c++ linux ?
Victor Nijegorodov
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width