LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   regarding tapisrv process (https://www.linuxquestions.org/questions/linux-newbie-8/regarding-tapisrv-process-347475/)

mqureshi 07-27-2005 09:00 PM

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

Mara 07-29-2005 03:53 PM

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.


All times are GMT -5. The time now is 03:54 AM.