Jimmy Pettersson
Jimmy Pettersson

Reputation: 464

Possible to get thread owner of GMutex lock?

I've noticed it's possible to get the thread holding the mutex lock on a ptread.

Is the same possible for a GMutex? I didn't find any references in the documentation.

Upvotes: 0

Views: 138

Answers (1)

Philip Withnall
Philip Withnall

Reputation: 5713

No, it is not possible. The entire GMutex API is here, and does not contain methods for getting the owning thread.

Upvotes: 1

Related Questions