This is the mail archive of the libc-alpha@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: LIBC_PROBE and locks


On 11/16/2015 12:54 PM, Florian Weimer wrote:
> Is it okay to call LIBC_PROBE while internal locks are held?  Or could
> this result in deadlocks by itself?  (I'm aware that the arguments are
> always evaluated.)

How would it cause deadlocks? The external observer, say systemtap or
gdb, are outside of the process and should not modify the state of the
process in such a way as to cause a deadlock. Under what conditions might
the evaluation of the arguments cause a deadlock?

Cheers,
Carlos.


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