Message259233
I've created a Mac OS 10.4 virtual machine and reproduced the getaddrinfo concurrency bug there using the attached h_resolv.c. The man page on that OS version indeed includes the "not thread-safe" warning.
The same test passes on my Mac OS 10.10 system.
I am convinced that getaddrinfo is thread-safe on Mac OS 10.5+, and I'm attaching a patch to disable the lock on these systems. |
|
Date |
User |
Action |
Args |
2016-01-30 03:18:08 | emptysquare | set | recipients:
+ emptysquare, ronaldoussoren, ned.deily |
2016-01-30 03:18:08 | emptysquare | set | messageid: <1454123888.05.0.866165004563.issue25924@psf.upfronthosting.co.za> |
2016-01-30 03:18:08 | emptysquare | link | issue25924 messages |
2016-01-30 03:18:07 | emptysquare | create | |
|