You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,46 +16,44 @@ Install moves files into your system's default localtion of headers and librarie
16
16
configure --prefix=/usr/local
17
17
```
18
18
19
-
[Doxygen documentation](http://herbertkoelman.github.io/cpp-pthread/doc/html/) can be generated with this command:
19
+
[Doxygen documentation](http://herbertkoelman.github.io/cpp-pthread/doc/html/) can be generated with this command. I hope this help make things easier to use and understand.
20
20
```
21
21
make doxygen
22
-
...
23
22
```
24
23
25
-
The target `pkg` will produce au tar.gz.
24
+
> Doxygen can be downloaded [here](http://www.stack.nl/~dimitri/doxygen/index.html).
26
25
27
-
This command creates a `doc` directory wich will contain the generated documentation.
28
-
29
-
> **warning** generating documentation requires that doxygen is installed.
30
-
31
-
The confugre file is not versionned, therefore it is required to run `autoconf` to generate one
32
-
```
33
-
autoconf
34
-
( cd src && autoconf )
35
-
( cd tests && autoconf )
36
-
```
26
+
The `make` target `pkg` will produce au tar.gz that can be distributed.
37
27
38
28
### How to use it
39
29
40
-
Once compiled and installed in a location that suites you, use your compiler options to reference the headers and the libraries directory. In almoast all casses you can:
30
+
Once compiled and installed in a location that suites you, use your compiler options to reference the headers and the library directory. In almoast all casses you can:
41
31
* include `#include "pthread/phtread.hpp"` in your code.
42
32
* comment the c++11 standard includes in your code
43
33
* declare that you're now using the namespace pthread (`using namespace pthread ;`)
44
34
45
-
It should now compile use this very simple (but often good enough) implementation.
35
+
Sample code can be found in the `tests` directory. To use it, run the following commands:
36
+
```
37
+
cd tests
38
+
./configure
39
+
./make
40
+
```
46
41
47
42
### Usefull links
48
43
49
-
*[documentation](http://pubs.opengroup.org/onlinepubs/007908799/xsh/threads.html) of the underlying POSIX threading library
0 commit comments