Commit 95776166 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Merge branch '272-thread-pool-docs' into 'master'

gthreadpool: Mention g_get_num_processors() in the thread pool docs

Closes #272

See merge request !1588
parents 1203e80f b3c0c480
Pipeline #199507 passed with stages
in 12 minutes and 42 seconds
......@@ -528,6 +528,10 @@ g_thread_pool_start_thread (GRealThreadPool *pool,
* with the two arguments. The first one is the parameter to
* g_thread_pool_push() and the second one is @user_data.
* Pass g_get_num_processors() to @max_threads to create as many threads as
* there are logical processors on the system. This will not pin each thread to
* a specific processor.
* The parameter @exclusive determines whether the thread pool owns
* all threads exclusive or shares them with other thread pools.
* If @exclusive is %TRUE, @max_threads threads are started
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment