doc: process: Document process.mainModule
authorJan Krems <jan.krems@gmail.com>
Sun, 22 Jun 2014 00:09:04 +0000 (17:09 -0700)
committerFedor Indutny <fedor@indutny.com>
Tue, 24 Jun 2014 16:21:25 +0000 (20:21 +0400)
commitad5e8ec3e2845d8d048ac8160f6af0194bc2b7e9
treeb799e8a6f2fe617dbea65840c8322c397e0d6e42
parentfcbffa71d030e48a10e29e35d973e40d0418fda0
doc: process: Document process.mainModule

Instrumentation code might need to find out the entry point of the
process in a global context.
Documenting the existing process.mainModule to officially support this.

Fixes #7808

Signed-off-by: Fedor Indutny <fedor@indutny.com>
doc/api/process.markdown