Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
A function call is a guarantee to the user and the simulator that it will not block.
Even though a task has no timing elements, it could call another task, that calls another task, and that has a timing element. The callee task that enabled the called task is now blocking. Some simulators will let a function call a task, but you will get a run-time error if that task tries to block. It's much simpler to let the guarantee work for you and let you know at compile time that what you wrote does not make any sense.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.