projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4986f44
)
Fix non net_4_0 profiles build
author
Jb Evain
<jbevain@gmail.com>
Mon, 2 May 2011 09:57:40 +0000
(11:57 +0200)
committer
Jb Evain
<jbevain@gmail.com>
Mon, 2 May 2011 09:57:40 +0000
(11:57 +0200)
mcs/class/corlib/System.Threading/Thread.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Threading/Thread.cs
b/mcs/class/corlib/System.Threading/Thread.cs
index f8c1c4e324185051087313c9ca399a4ab8832644..2bb5071f201fdc29270471ab3f3dba1fc617a992 100644
(file)
--- a/
mcs/class/corlib/System.Threading/Thread.cs
+++ b/
mcs/class/corlib/System.Threading/Thread.cs
@@
-895,7
+895,7
@@
namespace System.Threading {
if (maxStackSize < 131072) // make sure stack is at least 128k big
return 131072;
- int page_size = Environment.
SystemPageSize
;
+ int page_size = Environment.
GetPageSize ()
;
if ((maxStackSize % page_size) != 0) // round up to a divisible of page size
maxStackSize = (maxStackSize / (page_size - 1)) * page_size;