[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-patches
Subject:    Re: [Patch] PR35063 __gthread_mutex_destroy
From:       Mark Mitchell <mark () codesourcery ! com>
Date:       2008-02-29 19:48:09
Message-ID: 47C86179.2060401 () codesourcery ! com
[Download RAW message or body]

Janne Blomqvist wrote:

> the attached patch adds __gthread_mutex_destroy as a function that all
> thread implementations must provide. For posix, posix95, dce and tpf it
> calls pthread_mutex_destroy, for win32 it calls CloseHandle, and for the
> rest there is a null implementation that always returns success.

This is OK, but please be on the alert for reports for problems relating to:

> For the patch, I have merely guessed that the posix95, dce and tpf
> implementations provide pthread_mutex_destroy, as I have no way of
> testing these.

If those systems turn not to have the functions, then we'll want to fall 
back to null implementation -- or whatever alternatives they do have.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic