Skip to content

Instantly share code, notes, and snippets.

Created November 3, 2013 05:09
Show Gist options
  • Save anonymous/7286969 to your computer and use it in GitHub Desktop.
Save anonymous/7286969 to your computer and use it in GitHub Desktop.
synology intel pthread patch
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