SmartEvents Sync

Home Forums kbmMW SmartEvents Sync

Viewing 1 reply thread
  • Author
    Posts
    • #56436
      Babis Michael
      Participant

      Hello,

      SmartEvent Sync uses TThread.Queue to synchonize the main thead but it seems it doesn’t work as expected.

      eg

      [kbmMW_Event(‘UPDATE_GUI’)], [mweoSync]]
      procedure doUpdateGUI(const AJSON: string);

      After calling the Event.Notify(‘UPDATE_GUI’) it will cause freezes in the main thread. Using TThread.Synchonize doesn’t have that problem.

      So can you add an additional parameter eg mweoSyncQueue for the Queue  and let the mweoSync to use TThread.Synchonize ?

      Thank you

    • #56489
      Babis Michael
      Participant

      btw it seems that locking is broken ?

      Replacing the events call with TThread.Queue calls solved my freeze problems …

      Thank you

Viewing 1 reply thread
  • You must be logged in to reply to this topic.