}
#endif /* HAVE_PTHREAD_ATTR_SETSTACKSIZE */
-#ifdef PTHREAD_SCOPE_SYSTEM
- if (bound)
- /* No error check here, because some systems can't do it and we
- * simply don't want threads to fail because of that. */
- pthread_attr_setscope (&attr, PTHREAD_SCOPE_SYSTEM);
-#endif /* PTHREAD_SCOPE_SYSTEM */
-
posix_check_cmd (pthread_attr_setdetachstate (&attr,
joinable ? PTHREAD_CREATE_JOINABLE : PTHREAD_CREATE_DETACHED));
* @data: an argument to supply to the new thread.
* @stack_size: a stack size for the new thread.
* @joinable: should this thread be joinable?
- * @bound: should this thread be bound to a system thread?
+ * @bound: ignored
* @priority: ignored
* @error: return location for error.
* @Returns: the new #GThread on success.
*
* If @joinable is %TRUE, you can wait for this threads termination
* calling g_thread_join(). Otherwise the thread will just disappear
- * when it terminates. If @bound is %TRUE, this thread will be
- * scheduled in the system scope, otherwise the implementation is free
- * to do scheduling in the process scope. The first variant is more
- * expensive resource-wise, but generally faster. On some systems (e.g.
- * Linux) all threads are bound.
+ * when it terminates.
*
* The new thread executes the function @func with the argument @data.
* If the thread was created successfully, it is returned.
result->private_data = NULL;
G_LOCK (g_thread);
g_system_thread_create (g_thread_create_proxy, result,
- stack_size, joinable, bound, 0,
+ stack_size, joinable, 0, 0,
&result->system_thread, &local_error);
if (!local_error)
{