Interface: tos.lib.power.PowerDownCleanup

interface PowerDownCleanup

Please refer to TEP 115 for more information about this interface and its intended use.

This interface exists to allow a Resource user to cleanup any state information before a shared Resource is shutdown. It should be provided by the user of a shared Resource, and used by the power managment component for that Resource. The cleanup() command will be called by the power manager just before powering down the shared resource.

Author:
Kevin Klues (klueska@cs.wustl.edu)

Commands
command void cleanup() This command will be called by the power management component of a shared Resource.

Commands - Details

cleanup

command void cleanup()

This command will be called by the power management component of a shared Resource. The implementation of this command defines what must be done just before that shared Resource is shut off.