Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
add param types

Co-authored-by: Bradley Farias <bradley.meck@gmail.com>
  • Loading branch information
xavdid and bmeck authored Apr 12, 2021
commit b8ec5fc617a9d7ab3487e871981167f0f2103bb6
3 changes: 3 additions & 0 deletions lib/os.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ function networkInterfaces() {
}

/**
Comment thread
xavdid marked this conversation as resolved.
* @param {number} pid
* @param {number} priority
* @returns {void}
*/
function setPriority(pid, priority) {
Expand All @@ -304,6 +306,7 @@ function setPriority(pid, priority) {
}

/**
Comment thread
xavdid marked this conversation as resolved.
* @param {number} pid
* @returns {number}
*/
function getPriority(pid) {
Expand Down