LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2010, 11:58 AM   #1
sha_neb
Member
 
Registered: May 2007
Posts: 34

Rep: Reputation: 15
Event handling in Linux


Is there anything like event handling in Linux . Baisically
I want to create an Event group . Then I want to wait for that purticular Eventid to be Set . Something like as follows.


Create Event (Eventid);

sendEvent(Eventid , 1);


WaitForEvent (Eventid, ......, ....);
 
Old 05-28-2010, 01:36 PM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by sha_neb View Post
Is there anything like event handling in Linux?
Look at "man pthread_cond_wait" and "man sem_wait".
 
Old 05-28-2010, 06:48 PM   #3
sha_neb
Member
 
Registered: May 2007
Posts: 34

Original Poster
Rep: Reputation: 15
thanks, that was a great help.



regards,
sha.
 
  


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
Mouse event handling and interrupts in linux. skyte Programming 1 03-02-2010 02:45 PM
HELP w/: Script for EVENT Handling!!! vitoal18t Programming 2 06-24-2009 02:36 PM
Event handling question Student2005 Programming 4 12-20-2005 12:21 PM
pygtk event handling pita Programming 1 10-20-2005 01:48 PM
Need help handling a dial-in event GD_19 Linux - Networking 0 01-30-2004 12:19 AM

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

All times are GMT -5. The time now is 10:25 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