1 /* Thread compatibility glue
2 * Copyright (C) 2009 Howard Chu
4 * This Program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
9 * This Program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with RTMPDump; see the file COPYING. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
23 #define __THREAD_H__ 1
30 #define THANDLE HANDLE
34 #define TFRET() return 0
35 #define THANDLE pthread_t
37 typedef TFTYPE (thrfunc
)(void *arg
);
39 THANDLE
ThreadCreate(thrfunc
*routine
, void *args
);
40 #endif /* __THREAD_H__ */