nn::ndm::SuspendScheduler FunctionResult SuspendScheduler( bool bAsync = false );
| Name | Description | |
|---|---|---|
| in | bAsync | Specify true to return from the process without waiting for the suspension process to complete. Specify this when you do not need to know whether suspension has completed and want to quickly perform the next process. |
| Value | Description |
|---|---|
| ResultInvalidOperation | There are too many suspend operations. |
Suspends the daemon manager that handles scheduling for all network daemons.
Autonomous network connections and all autonomous daemon operations are suspended while scheduling is suspended. The requests to stop scheduling are managed by a counter, so they can be nested. There is an independent counter value for each process.
We do not recommend embedding SuspendScheduler into products. Unless you have a good reason to do otherwise, use Suspend or SuspendDaemons for suspending only a particular daemon.
CONFIDENTIAL