Threaded Window demo in examples/system/threads
The single thread demo worked fine under Wine. When I changed
#define MAX_THREADS = 2 (second define of the same name in the program) I got an exception error but the second threaded window opened after clearing the error dialog.