Created
November 3, 2013 05:09
-
-
Save anonymous/7286969 to your computer and use it in GitHub Desktop.
synology intel pthread patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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