Skip to content

Commit 7de9bff

Browse files
committed
Update documentation
1 parent 6d315c5 commit 7de9bff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/primesieve.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* number generation. In case an error occurs errno is set to
55
* EDOM and PRIMESIEVE_ERROR is returned.
66
*
7-
* Copyright (C) 2016 Kim Walisch, <[email protected]>
7+
* Copyright (C) 2017 Kim Walisch, <[email protected]>
88
*
99
* This file is distributed under the BSD License.
1010
*/
@@ -194,8 +194,9 @@ int primesieve_get_num_threads();
194194
void primesieve_set_sieve_size(int sieve_size);
195195

196196
/**
197-
* Set the number of threads for use in subsequent
198-
* primesieve_count_* function calls.
197+
* Set the number of threads for use in
198+
* primesieve_count_*() and primesieve_nth_prime().
199+
* By default all CPU cores are used.
199200
*/
200201
void primesieve_set_num_threads(int num_threads);
201202

0 commit comments

Comments
 (0)