[REBOL] Re: Multiple Threads Crash
From: arolls:bigpond:au at: 24-Jul-2001 20:56
> Unfortunately, it's crash prone. If I click the buttons
> furiously, it crashes
> (Win 98) with a "Rebol has performed an illegal operation..." message at
> around 70-80 active threads.
>
> If I click a bit more sedately to keep the thread level around 50
> or so, it
> soon crashes with a Rebol console error: "Invalid data type
> during recycle **
> Press enter to quit..."
I got your two errors on win2k.
To reduce the code below a bit:
lay: copy []
loop 4 [
loop 5 [
append lay [a-box: box 50x50 red do [append boxes a-box]]
]
append lay 'return
]
> testlayout: layout [
> across
> box-1: box 50x50 red
> box-2: box 50x50 red
> box-3: box 50x50 red
> box-4: box 50x50 red
> box-5: box 50x50 red
> return
>
> box-6: box 50x50 red
> box-7: box 50x50 red
> box-8: box 50x50 red
> box-9: box 50x50 red
> box-10: box 50x50 red
> return
>
> box-11: box 50x50 red
> box-12: box 50x50 red
> box-13: box 50x50 red
> box-14: box 50x50 red
> box-15: box 50x50 red
> return
>
> box-16: box 50x50 red
> box-17: box 50x50 red
> box-18: box 50x50 red
> box-19: box 50x50 red
> box-20: box 50x50 red
> return
Then append the rest of this to lay: