Merge "common_time_server.cpp: more O_CLOEXEC"

am: 78d5f90d98

* commit '78d5f90d98365987937b680862c4d88f3beaa4a3':
  common_time_server.cpp: more O_CLOEXEC
This commit is contained in:
Nick Kralevich
2015-12-19 07:08:22 +00:00
committed by android-build-merger

View File

@@ -143,7 +143,7 @@ CommonTimeServer::CommonTimeServer()
// Create the eventfd we will use to signal our thread to wake up when
// needed.
mWakeupThreadFD = eventfd(0, EFD_NONBLOCK);
mWakeupThreadFD = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
// seed the random number generator (used to generated timeline IDs)
srand48(static_cast<unsigned int>(systemTime()));