On Wed, 28 Nov 2018 21:15:25 -0800 (PST) [email protected] wrote: > Hi All, > > > It would be of great help if someone could tell me how to find if two > threads are trying to operate on a same mutex? > > I also want to find the entire communication that happens with respect to > locks while the program is being run, > > I came to know about this forum from some researcher. any inputs will be of > immense help. > > > Regards, > Deepthi >
Hi Deepthi, will the "trylock" feature help? See https://stackoverflow.com/questions/9258308/how-to-use-pthread-mutex-trylock - make sure to read the replies. -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Selina Mandrake - The Slayer (Buffy parody) - http://shlom.in/selina Chuck Norris has 0 messages in his E-mail inbox. Including already read ones. — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
