Commit 8a3d2931 8a3d2931aae8c17ef99bff867dabfcd863b93a9f by Christian Gerdes

dded license and binary for cygwin/windows64

1 parent 8b6d841f
1 # PILOOP 1 # PILOOP
2 Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU 2 CygWin/Linux/Unix command to calculate pi in a forever loop, thereby maxing out the CPU
3 cores of the machine. You need to specify the number of concurrent threads, and 3 cores of the machine. You need to specify the number of concurrent threads, and
4 optionally the priority of the process by specifying a nice value to add. 4 optionally the priority of the process by specifying a nice value to add.
5 5
...@@ -61,4 +61,11 @@ The pre-compiled piloop file in the repository is compiled for ...@@ -61,4 +61,11 @@ The pre-compiled piloop file in the repository is compiled for
61 piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, 61 piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
62 interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, 62 interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
63 BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped 63 BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped
64 ```
...\ No newline at end of file ...\ No newline at end of file
64 ```
65
66 The pre-compiled piloop.exe file in the repository is compiled for
67 ```
68 piloop.exe: PE32+ executable (console) x86-64, for MS Windows
69 ```
70 and requires a CygWin x64 installation. The provided cygwin1.dll can be used to run only piloop.exe.
71 Please note that CygWin is under a different license (https://cygwin.com/licensing.html).
...\ No newline at end of file ...\ No newline at end of file
......
1 /************************************************************************************************
2 * All code in this file is under the MS-RL License (https://opensource.org/licenses/MS-RL) *
3 * By using the code in this file in any way, you agree to the above license terms. *
4 * Copyright (C) LIGHTS IN LINE AB (https://www.lightsinline.se) *
5 * Repository, Wiki, Issue tracker and more at https://git.lightsinline.se/lilchger/piloop *
6 * *
7 * Author: Christian Gerdes (christian.gerdes@lightsinline.se) *
8 * Contributors *
9 * LIGHTS IN LINE AB *
10 * SWEDBANK AB * *
11 ************************************************************************************************/
12
1 #include <stdio.h> 13 #include <stdio.h>
2 #include <stdlib.h> 14 #include <stdlib.h>
3 #include <pthread.h> 15 #include <pthread.h>
......
No preview for this file type