mach_msg.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * Mach Operating System
  3. * Copyright (c) 1991,1990 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. */
  28. /*
  29. * File: ipc/mach_msg.h
  30. * Author: Rich Draves
  31. * Date: 1989
  32. *
  33. * Declarations of internal messaging primitives.
  34. */
  35. #ifndef _IPC_MACH_MSG_H_
  36. #define _IPC_MACH_MSG_H_
  37. #include <mach/boolean.h>
  38. #include <mach/message.h>
  39. extern mach_msg_return_t
  40. mach_msg_send(mach_msg_header_t *, mach_msg_option_t,
  41. mach_msg_size_t, mach_msg_timeout_t, mach_port_t);
  42. extern mach_msg_return_t
  43. mach_msg_receive(mach_msg_header_t *, mach_msg_option_t,
  44. mach_msg_size_t, mach_port_t,
  45. mach_msg_timeout_t, mach_port_t);
  46. extern void
  47. mach_msg_receive_continue(void);
  48. extern void
  49. mach_msg_continue(void);
  50. extern boolean_t
  51. mach_msg_interrupt(thread_t);
  52. #endif /* _IPC_MACH_MSG_H_ */