Skip to content

Background Worker written in Go #2

Open

Description

Activity

  1. microo8 commented on Jan 2, 2018

    @microo8
    Owner

    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

  2. omani commented on Apr 4, 2018

    @omani

    any news to this? being able to use goroutines would be absolutely awesome.

  3. microo8 commented on Jun 28, 2018

    @microo8
    Owner

    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?

  4. fabriziomello commented on Jun 28, 2018

    @fabriziomello
    Author

    @microo8 would be nice if you share some code sample

  5. microo8 commented on Jun 29, 2018

    @microo8
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions