Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
710B

  1. diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c
  2. index 9188f84..d96c000 100644
  3. --- a/gthread/gthread-posix.c
  4. +++ b/gthread/gthread-posix.c
  5. @@ -327,13 +327,6 @@ g_thread_create_posix_impl (GThreadFunc thread_func,
  6. }
  7. #endif /* HAVE_PTHREAD_ATTR_SETSTACKSIZE */
  8. -#ifdef PTHREAD_SCOPE_SYSTEM
  9. - if (bound)
  10. - /* No error check here, because some systems can't do it and we
  11. - * simply don't want threads to fail because of that. */
  12. - pthread_attr_setscope (&attr, PTHREAD_SCOPE_SYSTEM);
  13. -#endif /* PTHREAD_SCOPE_SYSTEM */
  14. -
  15. #ifdef G_THREADS_IMPL_POSIX
  16. posix_check_cmd (pthread_attr_setdetachstate (&attr,
  17. joinable ? PTHREAD_CREATE_JOINABLE : PTHREAD_CREATE_DETACHED));