DescriptionSet up NaClChromeMainArgs number_of_cores member so apps can size threadpools appropriately
The outer sandbox on Linux and OSX was preventing
sysconf(_SC_NPROCESSORS_ONLN) from succeeding, so that NaCl
applications that need the number of threads were getting a
bogus value (-1 when using newlib, and 1 when using glibc).
TEST= run_sysconf_nprocessors_onln_test
BUG=176522
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195190
Patch Set 1 #
Total comments: 6
Patch Set 2 : browsertest version of test #Patch Set 3 : add comment #Patch Set 4 : Visual Studio workaround #Patch Set 5 : more Windows build issues: use _snprintf_s #Patch Set 6 : changed name of helper #
Total comments: 16
Patch Set 7 : Cr fb. removed errorListener (incomplete port/hackage) #Patch Set 8 : added corresponding MAYBE_ defns #
Total comments: 2
Patch Set 9 : CR fb #
Messages
Total messages: 12 (0 generated)
|