00001 /*-------------------------------------------------------------------- 00002 * 00003 * (C) Copyright Koninklijke Philips Electronics NV 2006. 00004 * All rights reserved. This software is licensed under the terms of 00005 * version 2.1 of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation. For licensing and warranty 00007 * information, see the file COPYING in the main directory. 00008 * 00009 *------------------------------------------------------------------*/ 00010 00011 #ifndef TASK_CC 00012 #define TASK_CC 00013 00014 #include "taskapi.h" 00015 00016 Task::Task(void (*f)(void*), void* a) : 00017 TaskImpl(f,a) 00018 { } 00019 00020 void Task::start() 00021 { 00022 TaskImpl::start(); 00023 } 00024 00025 void Task::exit() 00026 { 00027 TaskImpl::exit(); 00028 } 00029 00030 void Task::join() 00031 { 00032 TaskImpl::join(); 00033 } 00034 00035 void Task::kill() 00036 { 00037 TaskImpl::kill(); 00038 } 00039 00040 #endif