Update README.md

This commit is contained in:
Johan 2015-01-18 13:38:33 +00:00
parent ec50e19e6d
commit f2acdd4d21
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Then run the executable like this:
##Basic usage
1. Include the header in your source file: ``#include "thpool.h"`
1. Include the header in your source file: `#include "thpool.h"`
2. Create a thread pool with number of threads you want: `threadpool thpool = thpool_init(4);`
3. Add work to the pool: `thpool_add_work(thpool, (void*)doSth, (void*)arg);`