Thanks for your answer.

What i want is the event queue size for a given THREAD, you're right

But I don't want to remove events, but just not send them. To know if i must not send an evnet, i need to know the event queue size for the thread i want to send it.

is is possible?