Why a task cannot return a value, Computer Engineering

Why a task cannot return a value?

If tasks can return values then Let's take a look at the below example.

A=f1(B)+f2(C);

and f1 and f2 had delays of say 5 and 10? When would B and C be sampled, or globals inside f1 and f2 be sampled? How long does then entire statement block? This is going to put programmers in a bad situation. So languages gurus made those tasks can't return.

 

 

Posted Date: 9/16/2013 3:35:22 AM | Location : United States







Related Discussions:- Why a task cannot return a value, Assignment Help, Ask Question on Why a task cannot return a value, Get Answer, Expert's Help, Why a task cannot return a value Discussions

Write discussion on Why a task cannot return a value
Your posts are moderated
Related Questions
Q. Explain working of Jaz Drive? Jaz Drive: Jaz drive is a well-liked drive with 2GB and unleashes creativity of professionals in graphic design and software development, pub

Illustrated three stages of data mining process? Stage 1: Exploration: This stage generally starts along with data preparation that may involve cleaning data, selecting subse


Q. What is the Future of Hyper threading? Current Pentium 4 based MPUs employ Hyper-threading however next-generation cores, Conroe, Merom and Woodcrest will not. As some have

Qualifications of security professionals For the security professionals, it is essential that they have adequate freedom to check the security measures and enforce them and

How to parse n size depth node in java and create output in same tree format?

Q. Explain the Structured Design of system? Structured Design utilizes graphic description (Output of system analysis) and focuses on development of software specifications.

As an advocate of CISC architecture to RISC architecture, what are the merits and demerits of CISC to RISC architecture

Set Value is ready to ActiveX Object from the form. Let Value is retried to ActiveX Object from the form. Get- Assigns the value of an expression to a variable or property.

My name is mrs flo and i apporve dubstep, do you apporve it?