[squeak-dev] The Inbox: Kernel-ct.1368.mcz

Eliot Miranda eliot.miranda at gmail.com
Sun Jan 24 14:55:42 UTC 2021


Hi Christoph,

    only a few processes have a name.  Surely this should test from there being a name and not print some noise if it doesn’t have a name.

_,,,^..^,,,_ (phone)

> On Jan 24, 2021, at 6:19 AM, commits at source.squeak.org wrote:
> 
> A new version of Kernel was added to project The Inbox:
> http://source.squeak.org/inbox/Kernel-ct.1368.mcz
> 
> ==================== Summary ====================
> 
> Name: Kernel-ct.1368
> Author: ct
> Time: 24 January 2021, 3:19:48.003384 pm
> UUID: c62a6062-b240-9149-a2ed-78fdc1079dfd
> Ancestors: Kernel-mt.1364
> 
> Proposal: Always include process name into its print string. This facilitates debugging/inspecting of multiprocess scenarios.
> 
> =============== Diff against Kernel-mt.1364 ===============
> 
> Item was changed:
>  ----- Method: Process>>longPrintOn: (in category 'printing') -----
>  longPrintOn: stream
> 
>      | ctxt |
>      super printOn: stream.
> +    stream
> +        nextPut: $(;
> +        nextPutAll: self name;
> +        nextPut: $).
>      stream cr.
>      ctxt := self suspendedContext.
>      [ctxt == nil] whileFalse: [
>          stream space.
>          ctxt printOn: stream.
>          stream cr.
>          ctxt := ctxt sender.
>      ].
>  !
> 
> Item was changed:
>  ----- Method: Process>>printOn: (in category 'printing') -----
>  printOn: aStream
> 
>      super printOn: aStream.
> +    aStream
> +        nextPut: $(;
> +        nextPutAll: self name;
> +        nextPut: $).
>      aStream nextPutAll: ' in '.
>      suspendedContext printOn: aStream!
> 
> 


More information about the Squeak-dev mailing list