A threading problem where mono hangs and MS.Net doesn't
问题 I'm testing my app with mono in prevision of a Linux port, and I have a threading problem. I initially considered pasting 3000 code lines here, but finally I've devised a small minimal example ;) You have a form with a button (poetically named Button1 , and a label (which bears, without surprise, the name Label1 )). The whole lot is living a happy life on a form called Form1 . Clicking Button1 launches an infinite loop that increments a local counter and updates Label1 (using Invoke ) to