On 04/12/2011 09:40 AM, Paolo Bonzini wrote:
> On 04/11/2011 11:23 PM, Holger Hans Peter Freyther wrote:
>> Thanks for your time and input. Feel free to remove the syntactic sugar part
>> or ask me to do it.
> 
> Done, and moved everything to kernel/ and tests/delays.st.
>

I have found a funny bug but I don't know the source of it and could need a
pointer.


a) socket := Socket remote: ... port...
b) write N bytes into the socket


a) socket next: N.
a) socket readBuffer inspect (ptr is beyond endPtr)

(Delay forSeconds: 3)
        value: [socket next: N]
        onTimeoutDo: [a) socket readBuffer.. -> ptr is back to 1]

so there must be some ensure: [] block that resets the endptr. Would you know
where to find it? is there also some kind of watchpoint support in GST?

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to