LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 07-27-2005, 10:00 PM   #1
mqureshi
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Rep: Reputation: 0
regarding tapisrv process


Good Day,
i have opened a device on the linux /dev directory. the same device is opened by the system process "tapisrv". Since tapisrv has issued a *select* system call on that File descriptor that corresponds to that device.. it is basically waiting for a write to occur on it so it can read it.. Now since i opened that device, i also issued a select system call on it.. since i issue the select system call after tapisrv... my process overrides tapisrv and i receive the notification first so i can read it before tapisrv.... however, sometimes it does happen that tapisrv restarts the process or re-issues the select call in which case it over rides my call..

it happens very rarely but sometimes tapisrv wins.. is there a way to gaurantee reading it before tapisrv..?

i would appreciate if someone can provide feedback. This is my first post so please dont let me down...

Thanks alot,

-MAQ
 
Old 07-29-2005, 04:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

You have a thread with reply here: http://www.linuxquestions.org/questi...hreadid=347474

This one is closed.
 
  


Closed Thread


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
how a father process know which child process send the signal SIGCHLD icoming Programming 10 07-20-2010 08:26 AM
Regarding tapisrv process mqureshi Programming 2 07-28-2005 08:39 AM
how can i get the process id on exec a process antony_csf Linux - Software 1 06-17-2004 04:06 AM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 02:19 PM
problem with binding process and than execute another process chapa Programming 0 08-27-2003 04:47 AM


All times are GMT -5. The time now is 05:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration