Descriptionruntime: limit number of OS threads
Add a semaphore around entersyscall/exitsyscall to limit the maximum
number of OS threads to 256. The new runtime.MaxOSThreads func allows
the limit to be changed.
Fixes issue 4056.
Patch Set 1 #Patch Set 2 : diff -r e2f9b9a58240 https://code.google.com/p/go #Patch Set 3 : diff -r e2f9b9a58240 https://code.google.com/p/go #Patch Set 4 : diff -r 85d759cdb33d https://code.google.com/p/go #
MessagesTotal messages: 6
|