Re: [Pharo-dev] Can we have subclasses of Process?

2017-08-17 Thread henry
EventualProcess is in eventual_test [*], as example. Do not run 
RefsTest>>#testFailedArithmaticwithEventualArgument or will segfault vm.

- HH

[*] - http://www.squeaksource.com/TurquoiseTesting/eventual_test-hh.4.mcz

On Thu, Aug 17, 2017 at 08:33, Guillermo Polito  
wrote:

> I think there is no technical limitation for it, AFAIK, the VM never checks 
> the class of a process. I also proposed something like that in this paper:
>
> http://guillep.github.io/files/publications/Poli14b-IWST-GlobalStateClassification.pdf
>
> On Thu, Aug 17, 2017 at 2:24 PM, Max Leske  wrote:
>
>> I've used subclasses of process for the debugger stuff without problems.
>> Max
>>
>> On 17 August 2017 at 14:05:14, Denis Kudriashov (dionisi...@gmail.com) wrote:
>>
>>> Hi.
>>>
>>> Is it allowed to subclass Process?  I remember that there were some 
>>> problems with it but I could not find any information.
>>>
>>> Generally I think about system processes which can be represented by 
>>> concrete subclasses. For example explicit UIProcess can be used to remove 
>>> many #isUIProcess conditions from system.
>>>
>>> Best regards,
>>> Denis
>
> --
>
> Guille Polito
>
> Research Engineer
>
> French National Center for Scientific Research - http://www.cnrs.fr
>
> Web: http://guillep.github.io
>
> Phone: +33 06 52 70 66 13

Re: [Pharo-dev] Can we have subclasses of Process?

2017-08-17 Thread Guillermo Polito
I think there is no technical limitation for it, AFAIK, the VM never checks
the class of a process. I also proposed something like that in this paper:

http://guillep.github.io/files/publications/Poli14b-IWST-GlobalStateClassification.pdf

On Thu, Aug 17, 2017 at 2:24 PM, Max Leske  wrote:

> I've used subclasses of process for the debugger stuff without problems.
>
> Max
>
>
>
> On 17 August 2017 at 14:05:14, Denis Kudriashov (dionisi...@gmail.com)
> wrote:
>
> Hi.
>
> Is it allowed to subclass Process?  I remember that there were some
> problems with it but I could not find any information.
>
> Generally I think about system processes which can be represented by
> concrete subclasses. For example explicit UIProcess can be used to remove
> many #isUIProcess conditions from system.
>
> Best regards,
> Denis
>
>


-- 



Guille Polito


Research Engineer

French National Center for Scientific Research - *http://www.cnrs.fr*




*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


Re: [Pharo-dev] Can we have subclasses of Process?

2017-08-17 Thread Max Leske
I've used subclasses of process for the debugger stuff without problems.

Max



On 17 August 2017 at 14:05:14, Denis Kudriashov (dionisi...@gmail.com)
wrote:

Hi.

Is it allowed to subclass Process?  I remember that there were some
problems with it but I could not find any information.

Generally I think about system processes which can be represented by
concrete subclasses. For example explicit UIProcess can be used to remove
many #isUIProcess conditions from system.

Best regards,
Denis


[Pharo-dev] Can we have subclasses of Process?

2017-08-17 Thread Denis Kudriashov
Hi.

Is it allowed to subclass Process?  I remember that there were some
problems with it but I could not find any information.

Generally I think about system processes which can be represented by
concrete subclasses. For example explicit UIProcess can be used to remove
many #isUIProcess conditions from system.

Best regards,
Denis