summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/thread-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/thread-unix.c')
-rw-r--r--firmware/target/hosted/thread-unix.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/firmware/target/hosted/thread-unix.c b/firmware/target/hosted/thread-unix.c
index a84ac70d56..79310e0600 100644
--- a/firmware/target/hosted/thread-unix.c
+++ b/firmware/target/hosted/thread-unix.c
@@ -1,3 +1,26 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2011 by Thomas Martitz
11 *
12 * Generic unix threading support
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
21 *
22 ****************************************************************************/
23
1#include <stdlib.h> 24#include <stdlib.h>
2#include <stdbool.h> 25#include <stdbool.h>
3#include <signal.h> 26#include <signal.h>
@@ -291,4 +314,3 @@ static inline void core_sleep(void)
291 enable_irq(); 314 enable_irq();
292 wait_for_interrupt(); 315 wait_for_interrupt();
293} 316}
294