lists and threads, double buffered

Archives Forums/BlitzMax Bug Reports/lists and threads, double buffered

fredborg(Posted 2010) [#1]
Hi,

I was testing some multi-threaded stuff in BMax, and it seems like there are a couple of problems. Which could be related to lists or arrays..

1. It crashes.

2. Clearing a list from the main thread doesn't seem to clear it correctly, if stuff was added to it from another thread.

Double buffered list, which crashes:


Single list, which seems to work, except clearing the list from the main thread doesn't work correctly:


Edit: Apparently only debug mode suffers from the crash