I found the solution. The solution is to execute a task in parallel and call the function normally pointed by the interrupt vector.
While finding the solution I remarked that using POSIX signals between FreeRTOS tasks of the POSIX_GCC may lead to problem with linux system calls. I also figured out that FreeRTOS tasks are monopolizing CPU time if they are used along with classical pthreads.
CLICK HERE to find out more related problems solutions.