Skip to content

asyncprocess busy waits #3

@felixcollins

Description

@felixcollins

Currently async process busy waits consuming an entire cpu core. I suggest using a ManualResetEvent and signalling the asyncprocess thread from all the methods that could cause it to do work. I've forked your project to use it with SocketCANSharp. I'll be making this change in my fork but I've also refactored a lot so it may be that you want to back port a few changes rather than trying to merge the fork back. Up to you, this is just a heads up really.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions