This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: Cleaning up after timer_delete


Le dimanche 26 juillet 2009 11:30:49 Rémi Denis-Courmont, vous avez écrit :
> > I think the solution is going to be the other way around, the callback
> > has to know you are about to delete the timer and avoid touching the
> > resource.
>
> The only piece of data that the lock has is the pointer.

I meant the timer - the timer has a single pointer from which the location of 
the lock and the protected resources must be inferred.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


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