Subject: Thread safety in Matrix Mobile 1.3.1.1
Hi Alex,
I'm using Matrix Mobile 1.3.1.1 on Windows CE 5.0 device with cf.net v3.5.
My question is if it is safe to call XmppClient methods from different threads, and if Matrix allows re-entrance.
I'm getting access violation exceptions from time to time in a situations like that:
- I have a timer that updates presence
- I set eg OnIq() handler
- I bet timer tick and the callback may happen at 'the same time'
The crashes happen not in ".net" way, ie it doesn't hit my try/catch statements, but all I see is a system popup saying that "Application xxx performed an illegal operation...". The address is always the same though : 0x02B62888.
Does it ring any bells?
BR,
AlexG
I'm using Matrix Mobile 1.3.1.1 on Windows CE 5.0 device with cf.net v3.5.
My question is if it is safe to call XmppClient methods from different threads, and if Matrix allows re-entrance.
I'm getting access violation exceptions from time to time in a situations like that:
- I have a timer that updates presence
- I set eg OnIq() handler
- I bet timer tick and the callback may happen at 'the same time'
The crashes happen not in ".net" way, ie it doesn't hit my try/catch statements, but all I see is a system popup saying that "Application xxx performed an illegal operation...". The address is always the same though : 0x02B62888.
Does it ring any bells?
BR,
AlexG