阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js os Priority Constants

      Node.js os Priority Constants

      新增于: v10.10.0

      The following process scheduling constants are exported by os.constants.priority:

      ConstantDescription
      PRIORITY_LOWThe lowest process scheduling priority. This corresponds to IDLE_PRIORITY_CLASS on Windows, and a nice value of 19 on all other platforms.
      PRIORITY_BELOW_NORMALThe process scheduling priority above PRIORITY_LOW and below PRIORITY_NORMAL. This corresponds to BELOW_NORMAL_PRIORITY_CLASS on Windows, and a nice value of 10 on all other platforms.
      PRIORITY_NORMALThe default process scheduling priority. This corresponds to NORMAL_PRIORITY_CLASS on Windows, and a nice value of 0 on all other platforms.
      PRIORITY_ABOVE_NORMALThe process scheduling priority above PRIORITY_NORMAL and below PRIORITY_HIGH. This corresponds to ABOVE_NORMAL_PRIORITY_CLASS on Windows, and a nice value of -7 on all other platforms.
      PRIORITY_HIGHThe process scheduling priority above PRIORITY_ABOVE_NORMAL and below PRIORITY_HIGHEST. This corresponds to HIGH_PRIORITY_CLASS on Windows, and a nice value of -14 on all other platforms.
      PRIORITY_HIGHESTThe highest process scheduling priority. This corresponds to REALTIME_PRIORITY_CLASS on Windows, and a nice value of -20 on all other platforms.

      更多内容请参考:Node.js os 操作系统,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录