'declare' is concurrent - seems to be a bug!
Fred Spiessens
fsp at info.ucl.ac.be
Tue Oct 12 09:37:52 CEST 2004
On Oct 12, 2004, at 9:22 AM, Leif Kornstaedt wrote:
>
>
> 1. Each code fragment fed to the compiler is parsed as a
> sequence of "queries".
> 2. Each query executes in a separate thread (given +threadedqueries).
> 3. Each 'declare' statement constitutes a query.
>
> You are right that (3) could be changed such that a sequence
> of declare statements would constitute a single query. When
> this decision was made, no one had a strong opinion one way
> or the other.
I assume that the fact that a code fragment can be split up into
multiple queries is considered useful, since it was a design decision.
Are there other ways in which a code fragment can have more than one
query?
thanks,
Fred.
More information about the mozart-hackers
mailing list