diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2011-06-09 10:29:25 +1000 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2011-06-09 10:29:25 +1000 |
commit | 14b8c4171c6a75176133f15dab6b49f5140c3493 (patch) | |
tree | 7fb2f0f2b2967cd064950590811eef710003eba1 | |
parent | 8833472cb8dff2ec907278f28c1c6f9eaa852da0 (diff) | |
download | go-14b8c4171c6a75176133f15dab6b49f5140c3493.tar.gz |
runtime: increase maximum number of windows callbacks
Fixes issue 1912.
R=rsc
CC=golang-dev
http://codereview.appspot.com/4591047
-rw-r--r-- | src/pkg/runtime/windows/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/windows/thread.c b/src/pkg/runtime/windows/thread.c index 2ce8fae15..81ad68033 100644 --- a/src/pkg/runtime/windows/thread.c +++ b/src/pkg/runtime/windows/thread.c @@ -373,7 +373,7 @@ runtime·compilecallback(Eface fn, bool cleanstack) return &c->asmbody; } } - if(cbs.n >= 20) + if(cbs.n >= 2000) runtime·throw("too many callback functions"); c = runtime·mal(sizeof *c + n); c->gobody = fn.data; |