[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Bug: "Delay wait:" doesn't return
From: |
mhopf |
Subject: |
[Help-smalltalk] Bug: "Delay wait:" doesn't return |
Date: |
Sat, 31 Aug 2002 12:16:38 +0200 |
User-agent: |
Mutt/1.3.23i |
I'm using GNU Smalltalk 2.0.5 and the following endless loop
---------------------------------------------------------------------
Object subclass: #TClient
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: ''!
!TClient class methodsFor: 'various class methods'!
new
| r |
r := super new.
^r
! !
!TClient methodsFor: 'various instance methods'!
"See WebServer package!"
run
| delay |
delay := Delay forMilliseconds: 20.
[1 = 1] whileTrue: [
'enter wait' printNl.
delay wait.
'leave wait' printNl.
].
!
! !
Smalltalk at: #program put: (TClient new)!
program run!
---------------------------------------------------------------------
stops after a while when run with 'gst <file>' with these last 3 lines,
but shouldn't
---------------------------------------------------------------------
'leave wait'
'enter wait'
"Minor scavenging... done, used space = 51%"
---------------------------------------------------------------------
My system is
address@hidden:~$ gst --version
GNU Smalltalk version 2.0.5
Copyright 2002 Free Software Foundation, Inc.
Written by Steve Byrne (address@hidden) and Paolo Bonzini (address@hidden)
address@hidden:~$ uname -a
Linux elizium 2.4.19 #3 Mon Aug 5 23:12:46 CEST 2002 i586 unknown
GNU Smalltalk comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Smalltalk under the terms of the
GNU General Public License. For more information, see the file named
COPYING.
Using default kernel path: /usr/local/share/smalltalk/kernel
Using default image path: /usr/local/share/smalltalk
address@hidden:~$ gcc --version
2.95.4
address@hidden:~$ g++ --version
g++ (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden:~$ ld --version
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
address@hidden:~$
Thanks a lot in advance,
Mark
--
TOAD -- A Simple and Powerful C++ GUI Toolkit for the X Window System
/OO\ Check it out at http://www.mark13.de/toad/
__(/_--_\)__________________________ Mark-André Hopf <address@hidden>
- [Help-smalltalk] Bug: "Delay wait:" doesn't return,
mhopf <=