Call os_create_task in interrupt function

Hello all,
I'm using C51 V7.03 and RTX51-full.
Can someone tell me why I can't create a task in an interrupt function?
When I do it, the program stuck or enters to endless loop (I don't know).
To check this problem I run the program with Ceibo's emulator. I set a break point on the line that call to os_create_task(). When I try to execute this line the program stuck…
P.S.
I tried the same code in RTX-tiny and its running perfectly.

Waiting for your help,
Roberto

More questions in this forum