This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] PR35063 __gthread_mutex_destroy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]