Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

src: expose libuv handle/req id on process object #8090

Closed
wants to merge 4 commits into from

Commits on Aug 22, 2014

  1. src: expose libuv handle/req id on process object

    Assign numeric identifiers to libuv handle and request wrappers and
    expose them to JS land as process._uvContextId[0].  Provides an ersatz
    "thread-local" state for tracking execution across asynchronous calls.
    
    Future optimization: reuse identifiers so they keep fitting in a SMI?
    bnoordhuis committed Aug 22, 2014
    Configuration menu
    Copy the full SHA
    18fa65e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    317f4a1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    574461e View commit details
    Browse the repository at this point in the history
  4. src: add process._uvHandleCloseCallback property

    Called whenever a libuv handle is closed.  The callback receives a
    single argument, the id of the handle that was closed.
    bnoordhuis committed Aug 22, 2014
    Configuration menu
    Copy the full SHA
    048125b View commit details
    Browse the repository at this point in the history