[Cuis] [aida] [ANN] A first port to Cuis of Sport and Swazoo

Germán Arduino garduino at gmail.com
Tue Jan 22 05:12:00 CST 2013


Hi Janko:

Ok! Fixed at this way, tested and commited!

Germán.


2013/1/21 Janko Mivšek <janko.mivsek at eranova.si>:
> Germán,
>
> I put your process changes on VW Swazoo and here is the result, which is
> probably least common denominator to all dialects:
>
>
> HTTPServer>>start
>  self loop isNil ifTrue:
>    [self socket:
>       (SwazooSocket serverOnIP: self ipCorrected port: self port).
>    self socket listenFor: 128.
>    self loop:
>       [ [self acceptConnection] repeat]
>            newProcess.
>    self loop
>       priority: Processor userBackgroundPriority;
>       resume
>    ]
>
>
> Additionally:
>
> HTTPConnection>>interact
>
>   ...
>
>   self server isMultiThreading
>     ifTrue:
>       [self loop: interactionBlock newProcess.
>        self loop
>          priority: Processor userBackgroundPriority;
>          resume]
>     ifFalse: [interactionBlock value].
>   ^self
>
>
> ServerTest>>setUp doesn't seem to have the process problem (process is
> not stored in any variable, so I propose to leave this method unchanged.
>
> Best regards
> Janko
>




More information about the Cuis mailing list