17 Commits

Author SHA1 Message Date
mihacooper
ef93c6a2a8
Rework thread cancellation, using regular exception (#177)
BREAKS BACK COMPATIBILITY:
  - cancellation error can be caught by `pcall`
  - `canceled` thread status was renamed to `cancelled`
2022-12-05 22:09:39 +01:00
mihacooper
1b0c968bf5
Interruption points in sync operations (get, wait, pop, ...) (#118)
Interruption points in sync operations (get, wait, pop, ...)
2022-04-17 19:46:25 +03:00
mihacooper
2333863a68
Issue #160: make thread runner shared table (#168)
Issue #160: make thread runner shared table
2022-02-22 23:37:55 +03:00
Ilia
c5d94ec465 Add hardware_threads() function (#111)
* Add hardware_threads() function
2018-10-17 12:54:41 +03:00
mihacooper
d189d67349 Get rid of effil.lua and allow to capture api in upvalue (#107) 2018-10-10 19:39:07 +03:00
mihacooper
1df5e73f49 Implement stacktrace collecting (#95) 2017-10-22 14:08:24 +03:00
mihacooper
e84fbb32f4 Function upvalues implementation (#86) 2017-10-19 22:49:51 +03:00
mihacooper
5a69ad0a97 fixes to build effil on windows (#71) 2017-09-25 21:06:00 +03:00
mihacooper
7e479f9f0a Fix bug in thread.returns test (#70) 2017-09-15 14:23:29 +03:00
mihacooper
5aa43c0b8a Fix pause hanging (#61) 2017-09-10 20:28:38 +01:00
Ilia
637fff6603 Add CI support for Lua5.1/5.3 and LuaJit(Rebase original extend_CI) (#55) 2017-07-02 18:16:17 +03:00
Ilia
6b77d9f9ec Cancel in yield 2 (#50) 2017-06-12 14:50:00 +03:00
Ilia
7947d7af17 From luaunit to u-test (#46)
From luaunit to u-test
2017-06-10 14:13:31 +03:00
mihacooper
5057116136 Channels implementation and tests (#42)
Channel implementation
2017-04-16 22:58:21 +03:00
mihacooper
cac3cd09e7 Dealing with userdata types and metatable (#35)
* merge fixes

* add Lua version logging to test

* move StoredObject to shared_ptr

* rewrite metamethods impl

* fix for SEGFAULT, I hope
2017-04-06 18:54:00 +03:00
Ilia
c09adc8115 Brand new threading API (#32)
Brand new threading API
2017-04-04 15:48:38 +03:00
Ilia Udalov
10e7bd7131 lua test fixes
effil as lua library
2017-03-10 16:33:14 +03:00