diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-18 11:30:35 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-18 11:30:35 -0400 |
| commit | b95d581e86ee57de7c163efa5eb0fb165d0a1032 (patch) | |
| tree | 5d586e2eeef434cfb0b0b625d229598ba470cc2e | |
| parent | 64d5eb541eb28e1a7e81adca66a72155d16033b4 (diff) | |
Update on my locking problem in the README.
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ The issue: - because the drawing function is now stuck waiting for the mutex to be unlocked, the label.SetText() system-dependent operation never runs, so the mutex is never unlocked - this fools Go's deadlock detector; it never reports anything - changing from standard mutexes to R/W mutexes does not work -- making resizes concurrent causes resizes to become too slow to be acceptable (they trail behind the actual user resizing by a significant amount) +- making resizes concurrent causes resizes to become too slow to be acceptable: the control resizing doesn't take effect until at least a second after the user lets go, and keeping a grip too long overloads the scheduler with goroutines +- making Label use a goroutine and channels for internal communication did not get rid of the locks If you know a better way I can do things, **please** help... I'm at my wits end here<br>The main test (`test/test`) now has its label show the current time; GTK+ users can run `test/test -area` for the Area test that sparked this whole calamity. |
