[squeak-dev] Re: Alternate BlockContext>>forkAt: for Andreas, was #fork and deterministic resumption of the resulting process

Bert Freudenberg bert at freudenbergs.de
Mon Mar 3 11:12:20 UTC 2008


On Mar 3, 2008, at 11:53 , Igor Stasenko wrote:

> Then, maybe we should go another way,
> by modifying compiler and if it finds selectors #fork, #forkAt: used
> in code, then
> it shows a big red warning which says:
> - this method using forks, please check your code twice against
> concurrency issues before submitting code. Presse 'yes' to continue
>
> and after user pressing 'yes', shows another:
>
> - are you sure you still want to accept code which using forks? Press
> 'yes' to not accept this code.
>
> :)

Nah, it should simply analyze the code and fix up any potential bugs.

- Bert -





More information about the Squeak-dev mailing list