|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Re: IO and Process Scheduler |
Date: | Sat, 04 Jun 2005 14:52:07 +0200 |
User-agent: | Mozilla Thunderbird 0.9 (Macintosh/20041103) |
Ah yes, that's known. It is not a bug, but more of a missing feature: the console blocks the processes, but it will work as usual if, for example, you add ast> MUD.MUDServer new port: 4321; start! 'register server socket' 'waiting for connection' MUDServer new "<0xb3d54b10>" now `telnet localhost 4321` - but nothing happens, if you type something - the accept is blocked by console, besides using forkAt: - now type something in smalltalk :
Processor activeProcess suspendor, better, add to MUDServer a #wait method that suspends the current process until a method (#close maybe) is called -- maybe with a semaphore.
The mailing list archive has a sketch of how to fix this. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |