Files
acrn-hypervisor/devicemodel/include
Yin Fengwei 64d9c59aa1 dm: enhence the mevent API
There is one race issue between mevent callback (which is called
in mevent_dispatch thread) and mevent_delete (which could be called
in dev thread). And the callback is called after mevent_delete.

libevent have the exactly same issue. The issue is decripted here:
https://github.com/libevent/libevent/blob/master/whatsnew-2.1.txt

The fixing is:
We introduce a teardown callback to mevent and make sure there is
no race issue between callback and teardown call.

This patch updates the mevent API and the caller as well.

Tracked-On: #1877
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2018-12-07 20:21:33 +08:00
..
2018-08-02 13:14:03 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-11-30 14:55:17 +08:00
2018-05-11 14:44:28 +08:00
2018-10-26 13:37:47 +08:00
2018-05-16 15:09:48 +08:00
2018-09-12 09:18:44 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-05-11 14:44:28 +08:00
2018-12-07 20:21:33 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-06-07 16:11:49 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-08-02 13:14:03 +08:00
2018-05-25 10:45:24 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-17 14:32:33 +08:00
2018-11-29 09:19:16 +08:00
2018-05-11 14:44:28 +08:00
2018-10-23 11:40:15 +08:00
2018-05-15 17:25:55 +08:00
2018-05-11 14:44:28 +08:00
2018-12-04 18:27:53 +08:00
2018-10-22 16:57:23 +08:00