[mythtv] [mythtv-commits] mythtv commit: r13608 - in trunk/mythtv by cpinkham

Tom Hughes tom at compton.nu
Fri Jun 8 14:12:24 UTC 2007

In message <yekmyza8rm7.fsf at dellow.uk.cyberscience.com>
        Tom Hughes <tom at compton.nu> wrote:

> In message <1181310635.14122.1.camel at cuy.kristjansson.com>
>         Daniel Kristjansson <danielk at cuymedia.net> wrote:
>> On Fri, 2007-06-08 at 04:34 +0000, mythtv at cvs.mythtv.org wrote:
>>> I also removed the unnecessary attr used to set PTHREAD_CREATE_JOINABLE in
>>> NetworkControl, since the default is joinable, we don't need to explicitly
>>> set this attribute.
>> Isn't joinable only a Linux default? I thought Solaris and other
>> operating systems defaulted to creating non-joinable threads.
> POSIX says joinable should be the default:
>   http://www.opengroup.org/onlinepubs/009695399/functions/pthread_attr_getdetachstate.html
>   "The default value of the detachstate attribute shall be PTHREAD_CREATE_JOINABLE.

and the Solaris 10 manual page agrees:

  "The default value of the detachstate attribute is PTHREAD_CREATE_JOINABLE.


Tom Hughes (tom at compton.nu)

More information about the mythtv-dev mailing list