1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_Task.cpp 4 5 Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain proprietary 8 information of Nintendo and/or its licensed developers and are protected by 9 national and international copyright laws. They may not be disclosed to third 10 parties or copied or duplicated in any form, in whole or in part, without the 11 prior written consent of Nintendo. 12 13 The content herein is highly confidential and should be handled accordingly. 14 15 $Revision: 31311 $ 16 *---------------------------------------------------------------------------*/ 17 18 #include "precompiled.h" 19 20 #include <nw/snd/snd_Task.h> 21 22 namespace nw { 23 namespace snd { 24 namespace internal { 25 Task()26Task::Task() 27 : m_Event(true), 28 m_Status(STATUS_FREE), 29 m_Id(0) 30 { 31 m_Event.Signal(); 32 } 33 ~Task()34Task::~Task() 35 { 36 NW_ASSERT( m_Status != STATUS_APPEND && m_Status != STATUS_EXECUTE ); 37 } 38 39 } // namespace nw::snd::internal 40 } // namespace nw::snd 41 } // namespace nw 42 43