home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / thread.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-16  |  1.2 KB  |  37 lines

  1. /* Multi-process/thread control defs for GDB, the GNU debugger.
  2.    Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993
  3.  
  4.    Contributed by Lynx Real-Time Systems, Inc.  Los Gatos, CA.
  5.    Free Software Foundation, Inc.
  6.  
  7. This file is part of GDB.
  8.  
  9. This program is free software; you can redistribute it and/or modify
  10. it under the terms of the GNU General Public License as published by
  11. the Free Software Foundation; either version 2 of the License, or
  12. (at your option) any later version.
  13.  
  14. This program is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. GNU General Public License for more details.
  18.  
  19. You should have received a copy of the GNU General Public License
  20. along with this program; if not, write to the Free Software
  21. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  22.  
  23. #ifndef THREAD_H
  24. #define THREAD_H
  25.  
  26. extern void init_thread_list PARAMS ((void));
  27.  
  28. extern void add_thread PARAMS ((int pid));
  29.  
  30. extern int in_thread_list PARAMS ((int pid));
  31.  
  32. extern int pid_to_thread_id PARAMS ((int pid));
  33.  
  34. extern int valid_thread_id PARAMS ((int thread));
  35.  
  36. #endif    /* THREAD_H */
  37.