interrupt handling on serial port

I am trying to establish serial communication between BB and PC using
UART2 on BB.

I am writing a C program to read a data on BB ( Transmitted using PC's
serial port). I am trying to do interrupt based read as per the
instructions at

My code for interrupt based read operation works fine on Linux PC but
the same code doesn't work with BB.

Now instead of waiting for read interrupt if I constantly poll the
UART for data, it works perfectly fine .... but its not the right way
to handle UART.

Anyone tried working with serial port programming ...... or is there
any known solution which could solve the above problem.

Do let me know in case you need the source code for reference.