Commit 75f05161 authored by ulan's avatar ulan Committed by Commit bot

Print more debug info on semaphore failure.

BUG=chromium:605349
LOG=NO

Review URL: https://codereview.chromium.org/1921213004

Cr-Commit-Position: refs/heads/master@{#35825}
parent 05e92849
......@@ -101,7 +101,9 @@ Semaphore::~Semaphore() {
void Semaphore::Signal() {
int result = sem_post(&native_handle_);
CHECK_EQ(0, result);
if (result != 0) {
V8_Fatal(__FILE__, __LINE__, "Semaphore signal failure: %d\n", errno);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment