https://github.com/interkosmos/fortran-pthread
Fortran 2003 interface bindings to POSIX Threads.
https://github.com/interkosmos/fortran-pthread
fortran posix posix-threads threads
Last synced: 5 months ago
JSON representation
Fortran 2003 interface bindings to POSIX Threads.
- Host: GitHub
- URL: https://github.com/interkosmos/fortran-pthread
- Owner: interkosmos
- License: isc
- Created: 2018-04-10T09:15:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T20:42:37.000Z (about 6 years ago)
- Last Synced: 2025-05-23T00:34:00.804Z (about 1 year ago)
- Topics: fortran, posix, posix-threads, threads
- Language: Fortran
- Homepage:
- Size: 5.86 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fortran-pthread
Proof of concept of Fortran 2003 interfaces to POSIX Threads.
## Build
Use the provided `Makefile` to build the interfaces:
```
$ make
```
Or, run your favourite Fortran compiler directly:
```
$ gfortran -c src/pthread.f90
```
## Examples
Please check directory `examples` for demos:
* **simple** runs a routine inside a `pthread`.
* **multi** runs a routine inside several `pthreads`.
Compile the examples with:
```
$ make
```
## Licence
ISC