home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / os / kludge03.tz / kludge03 / mk74 / user / threads / call.c next >
C/C++ Source or Header  |  1991-05-15  |  2KB  |  82 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1991,1990,1989 Carnegie Mellon University
  4.  * All Rights Reserved.
  5.  * 
  6.  * Permission to use, copy, modify and distribute this software and its
  7.  * documentation is hereby granted, provided that both the copyright
  8.  * notice and this permission notice appear in all copies of the
  9.  * software, derivative works or modified versions, and any portions
  10.  * thereof, and that both notices appear in supporting documentation.
  11.  * 
  12.  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  13.  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  14.  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  15.  * 
  16.  * Carnegie Mellon requests users of this software to return to
  17.  * 
  18.  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  19.  *  School of Computer Science
  20.  *  Carnegie Mellon University
  21.  *  Pittsburgh PA 15213-3890
  22.  * 
  23.  * any improvements or extensions that they make and grant Carnegie Mellon
  24.  * the rights to redistribute these changes.
  25.  */
  26. /*
  27.  * HISTORY
  28.  * $Log:    call.c,v $
  29.  * Revision 2.4  91/05/14  17:56:00  mrt
  30.  *     Correcting copyright
  31.  * 
  32.  * Revision 2.3  91/02/14  14:19:20  mrt
  33.  *     Added new Mach copyright
  34.  *     [91/02/13  12:40:44  mrt]
  35.  * 
  36.  * Revision 2.2  90/01/19  14:36:50  rwd
  37.  *     Created.  Routines to replace thread_* and cthread_call_on.
  38.  *     [90/01/03            rwd]
  39.  * 
  40.  */
  41.  
  42. #include <cthreads.h>
  43. #include "cthread_internals.h"
  44.  
  45. #ifdef THREAD_CALLS
  46. kern_return_t cthread_get_state(thread)
  47. cthread_t thread;
  48. {
  49.     cproc_t    p = thread->ur;
  50. }
  51.  
  52. kern_return_t cthread_set_state(thread)
  53. cthread_t thread;
  54. {
  55.     cproc_t    p = thread->ur;
  56. }
  57.  
  58. kern_return_t cthread_abort(thread)
  59. cthread_t thread;
  60. {
  61.     cproc_t    p = thread->ur;
  62. }
  63.  
  64. kern_return_t cthread_resume(thread)
  65. cthread_t thread;
  66. {
  67.     cproc_t    p = thread->ur;
  68. }
  69.  
  70. kern_return_t cthread_suspend(thread)
  71. cthread_t thread;
  72. {
  73.     cproc_t    p = thread->ur;
  74. }
  75.  
  76. kern_return_t cthread_call_on(thread)
  77. cthread_t thread;
  78. {
  79.     cproc_t    p = thread->ur;
  80. }
  81. #endif THREAD_CALLS
  82.