nn::ndm::SuspendScheduler Function

Syntax

Result SuspendScheduler(
     bool bAsync = false
);

Arguments

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.

Return Values

Returns whether succeeded.

Value Description
ResultInvalidOperation There are too many suspend operations.

Description

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. If you want to suspend just a particular daemon, use the Suspend and SuspendDaemons functions.

The requests to stop scheduling are managed by a counter, so they can be nested. There is an independent counter value for each process.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL