Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Includes <sys/time.h>, <sys/signal.h>, <sys/wait.h>

  • Loading branch information...
commit e9411e5adb60f088c1a8bad837e270f553363af1 1 parent efd4f97
@fmgdias fmgdias authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 benchmark/pi.c
View
6 benchmark/pi.c
@@ -1,8 +1,8 @@
/*
To run this:
-$ gcc pi.c
-./a.out
+$ gcc pi.c -pthread -o pi
+./pi
*/
@@ -14,6 +14,8 @@ To run this:
#include <assert.h>
#include <unistd.h>
#include <sys/time.h>
+#include <sys/signal.h>
+#include <sys/wait.h>
#define kPI 5e7
Please sign in to comment.
Something went wrong with that request. Please try again.