Code Monkey home page Code Monkey logo

Comments (8)

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024

This may also be a problem in ProcessMonitor (I saw the original problem on Linux), in the way it handles the two vectors for starting and stopping monitoring.

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024

Careful refactoring/rewriting of the ProcessMonitor is needed. Currently it gets confused if processes are added and removed quickly, and also if the process dies while it is being added.
Behaviour is probably completely different on windows and linux.
We need to specify what guarantees should be made and test them thouroughly.

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024
  • Milestone: 5.0 --> Unplanned

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024

It might be worth considering using a different approach on Linux. Currently it uses file events on the proc fs to detect programs exiting. It might be cleaner to use the proc connector interface as outlined below.

http://stackoverflow.com/questions/6075013/linux-detect-launching-of-programs

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024

The proc connectors do not seem to be a useful way ahead, since they require root permission...

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024
  • status: accepted --> closed

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024

ProcessMonitor has been rewritten in the master for 5.0.2/5.1 release.

Original comment by: DonOregano

from safir-sdk-core.

SafirSDKImport avatar SafirSDKImport commented on July 21, 2024
  • Milestone: Unplanned --> 5.0.x

Original comment by: DonOregano

from safir-sdk-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.