feat/108-luajit-lambda #126

Merged
falsycat merged 18 commits from feat/108-luajit-lambda into main 2023-08-06 00:38:23 +00:00

18 Commits

Author SHA1 Message Date
585f0daecd add unittests for nf7:value 2023-08-06 09:36:41 +09:00
9ac5907687 improve error message of nf7:value() function 2023-08-06 09:28:31 +09:00
90a543cd75 add luajit::Lambda 2023-08-06 09:27:35 +09:00
1bcbd786f5 add nf7::Value::operator== 2023-08-06 07:38:10 +09:00
ca16c6948a fix an issue that ConsumeTasks() ends before all tasks consumed 2023-08-05 23:23:47 +09:00
1319a81ce2 add luajit::TaskContext::Push(const nf7::Value&) 2023-08-05 23:22:38 +09:00
cf3898d7bf add nf7:assert to luajit std table 2023-08-05 22:07:16 +09:00
ed73ab63fe implement Push for nf7::Value 2023-08-05 22:06:36 +09:00
528d181cbf set immutable environment for lua threads 2023-08-05 21:44:20 +09:00
8ebb5871e6 add luajit::Context to Env in ContextFixture 2023-08-05 20:46:09 +09:00
9402501708 separate kFinished state of Thread into kExited and kAborted 2023-08-05 20:42:09 +09:00
4fd6b17936 enhance Exception to print exception stack on stream 2023-08-05 20:41:04 +09:00
73cb7e7412 fix an issue that ConsumeTasks() may end before end of the last task execution 2023-08-05 11:25:36 +09:00
ca2ad884e9 improve luajit::test::ContextFixture to consume async tasks on worker thread instead of main 2023-08-05 11:18:05 +09:00
2aef087d02 add SimpleTaskQueue::WaitForEmpty() 2023-08-05 11:17:25 +09:00
cc51952268 add luajit::Thread 2023-08-05 10:22:12 +09:00
6f6aa557fd add luajit::TaskContext::Push() methods 2023-08-05 10:17:54 +09:00
6d39015047 improve luajit::TaskContext::Query 2023-08-05 10:15:13 +09:00