Allow the time remaining parameter to nanosleep to be null
authorChristopher Dykes <cdykes@fb.com>
Tue, 9 Aug 2016 23:47:40 +0000 (16:47 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Tue, 9 Aug 2016 23:53:31 +0000 (16:53 -0700)
commitcc01a8a4915f51a62771f958162a5489af090748
tree72cc20716920a3e3d4d98866da20edb70be9923f
parent4a0d0c51faec44f4a2d4e788cb9fce4230fa411a
Allow the time remaining parameter to nanosleep to be null

Summary: Pah! This definitely wasn't causing the lock tests to segfault. Nope, not at all <_>.

Reviewed By: yfeldblum

Differential Revision: D3691120

fbshipit-source-id: 6601db637f22c7b0bc326907a2a7976f6df7c159
folly/portability/Time.cpp