You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes I've seen that and add a star to that project :) But didn't have time/energy/some other excuse ...
I leave this open as a reminder to do it. Or if anyone can do it I will pull it right away
I've been testing this. It works fine, also have ideas how to integrate it to plgo tool. But I've got a problem, that goroutines are not starting.
Is someone familiar with it? I must somehow enable threading in the background worker?
The code that I experimented with is in the test/bgw directory
Wanted to isolate the get_got _sigterm and wait_latch to something similar as the time.Tick method. It needs to run a separate goroutine to wait for the latch. (Also need to add close on that channel)
Also tried to run a goroutine, that doesn't use the log (maybe the log isn't accessible from another thread), but does something else (like touch a new file). But it doesn't run.
Activity
microo8 commentedon Jan 2, 2018
Yes I've seen that and add a star to that project :) But didn't have time/energy/some other excuse ...
I leave this open as a reminder to do it. Or if anyone can do it I will pull it right away
omani commentedon Apr 4, 2018
any news to this? being able to use goroutines would be absolutely awesome.
microo8 commentedon Jun 28, 2018
I've been testing this. It works fine, also have ideas how to integrate it to plgo tool. But I've got a problem, that goroutines are not starting.
Is someone familiar with it? I must somehow enable threading in the background worker?
fabriziomello commentedon Jun 28, 2018
@microo8 would be nice if you share some code sample
microo8 commentedon Jun 29, 2018
The code that I experimented with is in the test/bgw directory
Wanted to isolate the
get_got _sigtermandwait_latchto something similar as thetime.Tickmethod. It needs to run a separate goroutine to wait for the latch. (Also need to addcloseon that channel)Also tried to run a goroutine, that doesn't use the log (maybe the log isn't accessible from another thread), but does something else (like touch a new file). But it doesn't run.