Skip to content

Releases: Xiaofei-it/HermesEventBus

v0.3.0

05 Dec 14:03
Compare
Choose a tag to compare

Optimize the exception handling.

v0.2.0

31 Aug 13:01
Compare
Choose a tag to compare

Enhancements

HermesEventBus of the earlier versions synchronizes on the IMainService instance every time the action or calculation is performed, even after the service has been connected. This is meant to eliminate the write-after-write hazard and the read-after-write hazard, but makes the IPC slower.

This version improves the performance of the IPC to make it faster from the following aspects:

  1. When the service is being connected, move the incoming actions and calculations into a queue.
  2. After the service has been connected, perform the pending actions and calculations in the queue.
  3. Before the pending actions and calculations has been performed, any incoming action or calculation will also be added into the queue to eliminate the write-after-write hazard and the read-after-write hazard.
  4. After the pending actions and calculations has been performed, the subsequent actions and calculations will be performed immediately without synchronization.

v0.1.6

29 Aug 15:56
Compare
Choose a tag to compare

Bugfixes

  1. Fix a bug which will cause the failure of connection when sending and receiving events between apps.
  2. Fix a potential bug: Suppose that a sub-process sends an event to the main process before it finishes the connection to the main process. And the main process sends an event to the sub-process immediately after it receives the event sent from the sub-process. Then the sub-process will not receive the event sent from the main process.

New features and enhancements

  1. Add more annotations on MainService and SubService.
  2. Allow a user to re-initialize HermesEventBus after invoking HermesEventBus.destroy().