There goes whatever you wanted the handler to do.
Okay not really much of a help, but can you make clear what you want to know exactly? You wanted to have an interrupt handler for your serial interrupts. So whatever you wanted your handler to do, do it there.
If you don't have anything for it to do, then just dont attach an interrupt?
Also related, I do have a MODSERIAL fork that should allow for some interrupt handling when used with RTOS, getc, putc and puts are supposed to work. It is more a proof of concept beta thingie, that one day when I got time for it and feeling like it will be expanded. (For one printf is on my todo list there, but using sprintf and then puts you can effectively get the same).
https://mbed.org/users/Sissors/code/MODSERIAL-RTOS/
I have an application that requires both multithreading (hence the RTOS) and serial interrupt handling. Basically, one thread is acquiring data while the other is controlling the system, and time spent polling for serial commands is time wasted for data logging. So I want to implement a serial ISR handler that wakes the serial command handler thread while otherwise the processor is free for the data acquisition thread. But for whatever reason, whenever my interrupt handler gets called (even if it's totally empty and just exits immediately), the system deadlocks and stops doing anything. I'll try to upload a sample LED program in a little bit that exhibits the problem, but long story short, serial interrupt handling seems to be broken while using the RTOS. Any ideas? Has anyone seen this? Other interrupts (tick, etc) work fine.