So for redistribution on Windows it will require the specific vcredist file associated with vs2015 I'm assuming?
Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.
Yes. System supports windows. It works with all features as for Mac and Linux.
But
1. There is no continuous integration for windows builds now, only Linux and Mac due to lack of time and experience with appveyor.
2. Effil needs C++ compiler with C++14 standard compliance (introduced since Visual Studio 2015) because of dependency
https://github.com/thephd/sol2.
About «pausablility», it basically means you can run thread like this:
local thread = effil.thread(function()
while true do
print 'Hello world'
end
return nil
end)()
And pause/resume it like this:
thread:pause() -- suspended
thread:resume() -- works again
Or even cancel:
thread:cancel() -- synchronous cancelation
thread:cancel(0) -- asynchronous cancelation
P.S.
Great thanks to ThePhD for sol2. It is really easy and nice to use wrapper.
—
Ilia
Sorry for the top post.
Nice stuff. I like the documentation. The little comment over each part of the example code is immensely helpful. Does the system support Windows? There was nothing I saw immediately and a search of the readme page on my phone gave no hits. I did see reference to vs2015 though.
I don't know about 'pausability', but I've been looking forward to trying the threading model in cqueues (No windows support though).
Cheers,
Russ
Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.
From: Илья Удалов Sent: Friday, September 29, 2017 6:13 AM To: Lua mailing list Reply To: Lua mailing list Subject: Module for easy multithreading |
Hi,
Take a look at new gorgeous lua module for multithreading - Effil.
Main feature are:
- thread safe tables.
- threads can be paused/resumed and canceled.
- FIFO channels.
Install it from luarocks: luarocks install effil
—
Ilia and Miha