Skip to content

Instantly share code, notes, and snippets.

@patrickkeller
Forked from anonymous/synology_pthread.patch
Created January 22, 2014 13:53
Show Gist options
  • Save patrickkeller/8559091 to your computer and use it in GitHub Desktop.
Save patrickkeller/8559091 to your computer and use it in GitHub Desktop.
diff --git a/deps/uv/src/unix/thread.c b/deps/uv/src/unix/thread.c
index 4d59e93..d47a16d 100644
--- a/deps/uv/src/unix/thread.c
+++ b/deps/uv/src/unix/thread.c
@@ -283,8 +283,8 @@ int uv_cond_init(uv_cond_t* cond) {
if (pthread_condattr_init(&attr))
return -1;
- if (pthread_condattr_setclock(&attr, CLOCK_MONOTONIC))
- goto error2;
+ //if (pthread_condattr_setclock(&attr, CLOCK_MONOTONIC))
+ // goto error2;
if (pthread_cond_init(cond, &attr))
goto error2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment