Commit Graph

12 Commits

Author SHA1 Message Date
y00576111 7f7abc0b8d Support actor function
When the worker thread is started
the part shared by the virtual machine is not recreated
only the part that cannot be shared is created

issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I9bf9ba9a5f1b6b2a1df6ebb2827c68bdf95d94f9
2022-02-21 22:17:07 +08:00
y00576111 da6cfdd644 codex fix
Why
The data types of the variables do not match

Description
Change the input parameter type of CallWorkerFunction and CallHostFunction functions from int to size_t

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I203029a7f55d139be09fe4bc9aa5c9653f1f8165
2022-02-16 19:58:47 +08:00
y00576111 dae1ea6bb4 second level worker
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I169dbe100e7bddcadaef47763566d256c03b9ec6
2022-01-04 11:23:58 +08:00
y00576111 9a238cf635 sync to ohos-master
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I9f3c1b8a34ab5b77f8fa9e62e96c74cc5e960876
2021-12-25 09:12:39 +08:00
y00576111 23ae6badee thread synchronization problem
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I7e6ca513c48fc25fb1a69391a472224b2e0d400e
2021-10-07 21:42:42 +08:00
y00576111 1407e583c9 fix community code alarms
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: Icf956b44239c7cef5d5ce085c53b138886466c76
2021-09-24 10:44:19 +08:00
y00576111 3c4468cf9a fix codex
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I7a13f8182bcd6754b4ba79e4bb4132647e90f643
2021-09-22 16:36:50 +08:00
y00576111 b70a2fc648 fix for ark
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: If3cf10a366b45e714b61ef5e582c66fe06ccda3e
2021-09-18 18:49:10 +08:00
y00576111 a2384523a1 modify run_buffer_script to support ark
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: Iaa4584cda429467bb2ac5b54844301e987c6e0c4
2021-09-14 14:48:22 +08:00
y00576111 b524abebae Rectification worker code
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: Ifa0352cf550d2d745e6b1d70bd443c35309a2506
2021-08-28 09:09:01 +08:00
y00576111 ee5ab00fcd add worker readme
Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I9ce0caaabe79e404c382c838352aa6ba17542f30
2021-08-25 18:40:30 +08:00
wupengyong 9dfe2c186f add worker core
Signed-off-by: wupengyong <wupengyong@huawei.com>
2021-08-22 09:48:16 +08:00