Search:

Type: Posts; User: itisravi

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    4,640

    @Salem I'm actually monitoring only one fd (my...

    @Salem
    I'm actually monitoring only one fd (my serial port). My question is: Is threading the only way to go, because i want to continuously monitor for any input data on the port (and read it if...
  2. Replies
    10
    Views
    4,640

    select and poll are functions that block (with...

    select and poll are functions that block (with timeout options). Now if i want to _continuously_ monitor the files for input, i need to call these functions inside a while loop.This means my program...
  3. Replies
    10
    Views
    4,640

    Hello MK27, Thanks for the reply. Looked into...

    Hello MK27,

    Thanks for the reply. Looked into POLL. I want something that's asynchronous. If i were to achieve asynchronous notification using POLL, may be i need to run an infinite loop on POLL...
  4. Replies
    10
    Views
    4,640

    Been reading up on signals. I gather that once...

    Been reading up on signals. I gather that once inside the handler,by default, the signal which called the handler is blocked from triggering again until the handler completes. So i called sleep()...
  5. Replies
    10
    Views
    4,640

    Signal generation and handling

    Hi,

    I'm using

    int sigaction(int signum, const struct sigaction *act,struct sigaction *oldact);
    to register my realtime signal and the

    void (*sa_sigaction)(int,...
  6. Replies
    5
    Views
    3,967

    user space control for device driver

    Hello,

    I'm currently learning how device drivers are written for Linux (and have to write one shortly). From what i understand, the final control provided to user space for accessing the driver...
  7. Replies
    3
    Views
    2,711

    I looked into select() and poll(). But again...

    I looked into select() and poll(). But again these (either blocking or non blocking) are over once the call to these functions is completed. I was thinking more an interrupt based notification so...
  8. Replies
    3
    Views
    2,711

    Serial Port Notifications

    I'm accessing serial ports in linux from user space using ioctl, read and write.Now i need to get notifications from the kernel if there is new data available or if the port's buffer is empty.How do...
Results 1 to 8 of 9