Fix repeat def of OS_BSD when sub-BSD flavor detected. Fix some make tests that fail on non-2003 compile modes.

git-svn-id: http://svn.boost.org/svn/boost/trunk@86312 b8fc166d-592f-0410-95f2-cb63ce0dd405
More stringent testing of OSX BSD like behavior. Fix BSD mis-detection on OSX depending on include order.

git-svn-id: http://svn.boost.org/svn/boost/trunk@86313 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fix some doc typos as reported by Michel Morin. (fixes #9209)

git-svn-id: http://svn.boost.org/svn/boost/trunk@86314 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fixes #9221 ("message_queue deadlock on linux")

git-svn-id: http://svn.boost.org/svn/boost/trunk@86316 b8fc166d-592f-0410-95f2-cb63ce0dd405
Removed incorrect assert(0) introduced when resolving #9221

git-svn-id: http://svn.boost.org/svn/boost/trunk@86317 b8fc166d-592f-0410-95f2-cb63ce0dd405
Fixes #9226 (On some computers, Common Appdata is empty in registry, so boost interprocess cannot work)

git-svn-id: http://svn.boost.org/svn/boost/trunk@86318 b8fc166d-592f-0410-95f2-cb63ce0dd405
Performance optimizations for Haswell.

git-svn-id: http://svn.boost.org/svn/boost/trunk@86319 b8fc166d-592f-0410-95f2-cb63ce0dd405
Reverted commit 86144, which was misapplied and not required. The support for 64-bit atomic ops on 32-bit x86 was already present before.

git-svn-id: http://svn.boost.org/svn/boost/trunk@86320 b8fc166d-592f-0410-95f2-cb63ce0dd405
random: avoid generating warnings with -Wshadow, fix #9115

git-svn-id: http://svn.boost.org/svn/boost/trunk@86321 b8fc166d-592f-0410-95f2-cb63ce0dd405
random: add explicit casts in normal_distribution.hpp to avoid truncation warnings with MSVC

git-svn-id: http://svn.boost.org/svn/boost/trunk@86325 b8fc166d-592f-0410-95f2-cb63ce0dd405
Ported semaphore implementation to the time units abstraction layer.

git-svn-id: http://svn.boost.org/svn/boost/trunk@86326 b8fc166d-592f-0410-95f2-cb63ce0dd405