DescriptionMachMessageServer test: deal with short receive queue lengths on 10.10.
The queue length of a new receive port appears to be 2 on Mac OS X 10.10
DP8 14A361c. The value of MACH_PORT_QLIMIT_DEFAULT in the 10.10 SDK is
still 5, so a read of the kernel source should be interesting, if we
ever get to see it.
In the meantime, mach_port_set_attributes() can be used to set a
traditional queue length.
TEST=util_test MachMessageServer.PersistentNonblockingFourMessages
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/8eec7874fd035bba7aadb469013e54730890b181
Patch Set 1 #
Total comments: 1
Patch Set 2 : Address review feedback #Patch Set 3 : Rebase #Messages
Total messages: 4 (1 generated)
|