Giter VIP home page Giter VIP logo

Comments (4)

ssugiura avatar ssugiura commented on August 18, 2024

@ssugiura Sorry for my late reply and thanks for pointing this out. We will look into this soon. Or it's very welcome if you already have some suggestion.

from dlt-daemon.

votrungchi avatar votrungchi commented on August 18, 2024

Hello @chenlimingcn , Based on the man page [1], EINTR is about Interruption of system calls and library functions by signal handlers
If a signal handler is invoked while a system call or library
function call is blocked, then either:
* the call is automatically restarted after the signal handler
returns; or
* the call fails with the error EINTR.
In case of the call fails with the error EINTR, it also return the error (-1), so currently, dlt-daemon handling it as abnormal cases.
So could you please help to give some detail suggestion or an example in dlt-daemon source code that need to deal with the EINTR?
We very appreciate it.
[1] http://man7.org/linux/man-pages/man7/signal.7.html

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@chenlimingcn , Please refer to the comment from @votrungchi and let us know your opininon.

from dlt-daemon.

ssugiura avatar ssugiura commented on August 18, 2024

@chenlimingcn Please re-open this issue if there's any further comment.

from dlt-daemon.

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.