LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2012, 02:33 PM   #1
sbauer72
Member
 
Registered: Mar 2011
Posts: 36

Rep: Reputation: 0
ACE REACTOR timers or POSIX timers


ALL,

Does anyone have a very simple example of using timers in the ACE REACTOR utilities?

Do you feel that POSIX is better?
 
Old 02-25-2012, 11:00 AM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by kyunghbbu View Post
posix
Please do not post if you don't have anything constructive to say. It is especially rude to take other members' questions out of the zero reply list. Since you have been posting similar posts in several other threads, I'll assume it is a spam and report it.

Last edited by millgates; 02-25-2012 at 11:02 AM.
 
Old 02-25-2012, 09:27 PM   #3
sbauer72
Member
 
Registered: Mar 2011
Posts: 36

Original Poster
Rep: Reputation: 0
what is wrong with you?

I am serious. Why post the rude post. I am not marketing anything. I just want an answer or opinion.

I like lq and I have got a lot a good responses in the past.
 
Old 02-25-2012, 09:44 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
millgates was not responding to you sbauer72.

Look at his quote block. There was a message posted by a user named "kyunghbbu". Without going into all the details, that particular user (and another) were on the forums posting replies that did nothing but quote an earlier message in the thread and embed a web URL to some image file. These "users" were either:
1. automated scripts someone was trying (presumably for forum spamming purposes) or
2. nefarious individuals trying to direct users to click on the link to install some malicious code and/or promote some agenda clearly unrelated to the topic in the thread.

The moderators at LQ realized this (the messages were not limited to this thread alone), and deleted the posts (and presumably the users themselves) once discovered. So, you are seeing millgates's reply to a now-deleted response.

EDIT:
Unfortunately, I don't have any experience with timers in ACE REACTOR utilities. So I can't help with that. Nor, by necessary consequence, can I comment on whether POSIX timers are preferable.

Last edited by Dark_Helmet; 02-25-2012 at 09:48 PM.
 
Old 02-26-2012, 04:13 AM   #5
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by sbauer72 View Post
I am serious. Why post the rude post. I am not marketing anything. I just want an answer or opinion.

I like lq and I have got a lot a good responses in the past.
Dark_Helmet is correct. My comment was not meant to you, but to a member who rudely hijacked your thread and whose account was deleted shortly after. I was kind of assuming the mods would also remove my comment since it does not make much sense anymore with the spam post gone. I am sorry if I made an impression that I am rude to you.

Anway, I don't know much anything about ACE REACTOR either, the only thing I can direct you to is this document which seems to be a nice overview if you haven't read it yet and the documentation of the class.
A google search also returned this example that seems to use timers.
From a quick look at the documents, it seems that the time as represented in ACE REACTOR is a wrapper that uses POSIX timeval_t under the hood in POSIX compliant environments and whatever windows uses in win environments. ACE REACTOR also seems to be object oriented, while POSIX timers (IIRC) are plain C.
I'm sorry I can't be of more help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
posix timers issues and problem shakthi Linux - Newbie 0 05-20-2011 07:13 AM
Posix timers affected by system clock changes. ljratner Linux - Software 0 11-06-2009 03:39 PM
usage of Posix timers titusabraham Programming 5 10-13-2009 06:13 PM
Posix timers not behaving correctly sean04 Programming 1 10-07-2007 11:34 PM
posix timers mailsteam Programming 7 05-18-2007 11:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration