Commit 8a3d2931 8a3d2931aae8c17ef99bff867dabfcd863b93a9f by Christian Gerdes

dded license and binary for cygwin/windows64

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