On Mon, 6 Dec 2004 09:47:22 -0500, David Botton wrote:
>Ok #2 in our series of questions that will make their way in to the
>FAQ, articles, etc. (I will be putting together #1 answers soon)
>Why is it better to have tasking as a language feature than as an API?
A few more thoughts on the benefits of tasking as part of the language --
Well defined synchronization and communication semantics. The Ada rendezvous is very clear about how and when
tasks interact and exchange data. Protected objects offer a mechanism to coordinate asynchronous communication in
a protected manner. Again, with clearly defined semantics both respect to the access to the data and what happens
when exceptions occur.