client report a memorypool assert

Options
xuelihong797998
edited August 2013 in Native
the client is mulitthread, every thread has a photonpeer.
it's report a memorypool assert when i launch more than two photonpeer(thread), every photonpeer connect success.
platform: windows7.
IDE:visual studio 2010
the assert :
Assertion failed!
Program:...
File: e:\dev\egn\photon-sdk-native\branc...\memorypool.cpp
Line:76
Expression:mLastAlloc != e

Comments

  • Kaiserludi
    Options
    Hi xuelihong797998.

    The Photon native clients are not thread safe, yet.
    If you want to access Photon from different threads, then you need to use locks to make sure, that only one thread accesses it at once.
  • Hi, thanks for the reply.

    we are right now working for multithread.