LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-18-2015, 01:10 PM   #1
Pammi
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
schedule sending of messages from a process


HI,

I am new to this area and have the requirement like:

1) A running process wants to send message based on event arrival.
2)the process checks if event is critical
3)if critical then it has to send message immediately ,else send after time t.

4) The process is continously process the events . so once it knows the event is not critcal and has to send message later it has to proceed with its normal operation.. only when time 't" comes it has to come and send message.


Any pointers on what logic is best in such scenarios would be helpful.
 
Old 03-19-2015, 06:17 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
I think you specified the logic you want to use. You need to select a language (perl, c, c++, java, python, bash, whatever), and start to implement it. Or do you have some code already available?
 
  


Reply



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
Sending Signal from Child Process to Parent Process : Not getting desired output thelink123 Linux - General 4 10-26-2012 09:05 PM
Schedule sending an email jago25_98 Linux - Networking 1 08-01-2010 07:38 PM
how to read process/thread schedule information yangyang77 Linux - Software 2 11-20-2009 04:22 AM
schedule() Do i need to update current state of a process? sunang Programming 4 11-17-2004 12:17 AM
Sending messages tired Linux - Newbie 2 08-11-2004 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:51 PM.

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