Remove the full url path from links to the wiki and display the wiki name only instea...
[Rockbox.git] / uisimulator / sdl / thread-sdl.h
blob3739130f971368d7b1d07814d719be40c070a14c
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2006 Dan Everton
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __THREADSDL_H__
21 #define __THREADSDL_H__
23 #include "SDL_thread.h"
25 extern SDL_Thread *gui_thread; /* The "main" thread */
26 bool thread_sdl_init(void *param); /* Init the sim threading API - thread created calls app_main */
27 void thread_sdl_shutdown(void); /* Shut down all kernel threads gracefully */
28 void thread_sdl_lock(void); /* Sync with SDL threads */
29 void thread_sdl_unlock(void); /* Sync with SDL threads */
31 #endif /* #ifndef __THREADSDL_H__ */