From: Jessica Lord Date: Wed, 2 Sep 2015 01:44:52 +0000 (-0700) Subject: Merge pull request #2654 from atom/jl-std-docs-6 X-Git-Tag: v0.31.2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e6265ec40584f516d0f0bd9fc617006ac58529e5;p=electron.git Merge pull request #2654 from atom/jl-std-docs-6 Standardize Docs: native-image, power-monitor, power-save-blocker, process --- e6265ec40584f516d0f0bd9fc617006ac58529e5 diff --cc docs/api/process.md index 930a5860,120b2853..abd3c4fe --- a/docs/api/process.md +++ b/docs/api/process.md @@@ -8,13 -9,10 +9,17 @@@ upstream node * `process.versions['chrome']` String - Version of Chromium. * `process.resourcesPath` String - Path to JavaScript source code. - ## process.hang + # Methods + + The `process` object has the following method: + + ### `process.hang` Causes the main thread of the current process hang. + +## process.setFdLimit(maxDescriptors) _OS X_ _Linux_ + +* `maxDescriptors` Integer + +Sets the file descriptor soft limit to `maxDescriptors` or the OS hard +limit, whichever is lower for the current process.