Re: [PATCH] libgcc: properly destroy mutexes on VxWorks

2018-10-29 Thread Olivier Hainque
> On 29 Oct 2018, at 16:16, Olivier Hainque wrote: > > Hi Rasmus, >> libgcc/ >> >> * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete. > > Looks good at first sight. Let me give it a try > on an ongoing port. Ok, thanks!

Re: [PATCH] libgcc: properly destroy mutexes on VxWorks

2018-10-29 Thread Olivier Hainque
Hi Rasmus, > On 29 Oct 2018, at 14:32, Rasmus Villemoes wrote: > > Just as one needs run-time initialization of mutexes, one needs to > destroy them properly to allow the OS to release resources associated > with the semaphore. > > ==changelog== > > libgcc/ > > * config/gthr-vxworks.h

[PATCH] libgcc: properly destroy mutexes on VxWorks

2018-10-29 Thread Rasmus Villemoes
Just as one needs run-time initialization of mutexes, one needs to destroy them properly to allow the OS to release resources associated with the semaphore. ==changelog== libgcc/ * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete. --- libgcc/config/gthr-vxworks.h | 3 ++-