source: rtems/c/src/exec/posix/src/semaphoremp.c @ f42b726

4.104.114.84.95
Last change on this file since f42b726 was f42b726, checked in by Joel Sherrill <joel.sherrill@…>, on 01/24/01 at 14:17:28

2001-01-24 Ralf Corsepius <corsepiu@…>

  • configure.in: Add src/config.h
  • src/Makefile.am: Add INCLUDES += -I. to pickup config.h
  • src/.cvsignore: Add config.h and stamp-h
  • src/*.c: Add config.h support.
  • Property mode set to 100644
File size: 3.0 KB
Line 
1/*
2 *  $Id$
3 */
4
5#if HAVE_CONFIG_H
6#include "config.h"
7#endif
8
9#include <stdarg.h>
10
11#include <errno.h>
12#include <fcntl.h>
13#include <pthread.h>
14#include <semaphore.h>
15#include <limits.h>
16
17#include <rtems/system.h>
18#include <rtems/score/object.h>
19#include <rtems/posix/semaphore.h>
20#include <rtems/posix/time.h>
21#include <rtems/seterr.h>
22
23#if defined(RTEMS_MULTIPROCESSING)
24/*
25 *  _POSIX_Semaphore_MP_Send_process_packet
26 *
27 *  DESCRIPTION:
28 *
29 *  This routine performs a remote procedure call so that a
30 *  process operation can be performed on another node.
31 */
32
33void _POSIX_Semaphore_MP_Send_process_packet(
34  POSIX_Semaphore_MP_Remote_operations  operation,
35  Objects_Id                            semaphore_id,
36  Objects_Name                          name,
37  Objects_Id                            proxy_id
38)
39{
40  POSIX_MP_NOT_IMPLEMENTED();
41}
42
43/*
44 *  _POSIX_Semaphore_MP_Send_request_packet
45 *
46 *  DESCRIPTION:
47 *
48 *  This routine performs a remote procedure call so that a
49 *  directive operation can be initiated on another node.
50 */
51
52int _POSIX_Semaphore_MP_Send_request_packet(
53  POSIX_Semaphore_MP_Remote_operations  operation,
54  Objects_Id                            semaphore_id,
55  boolean                               wait,  /* XXX options */
56  Watchdog_Interval                     timeout
57)
58{
59  POSIX_MP_NOT_IMPLEMENTED();
60  return 0;
61}
62
63/*
64 *  _POSIX_Semaphore_MP_Send_response_packet
65 *
66 *  DESCRIPTION:
67 *
68 *  This routine performs a remote procedure call so that a
69 *  directive can be performed on another node.
70 */
71
72void _POSIX_Semaphore_MP_Send_response_packet(
73  POSIX_Semaphore_MP_Remote_operations  operation,
74  Objects_Id                        semaphore_id,
75  Thread_Control                   *the_thread
76)
77{
78  POSIX_MP_NOT_IMPLEMENTED();
79}
80
81/*
82 *
83 *  _POSIX_Semaphore_MP_Process_packet
84 *
85 *  DESCRIPTION:
86 *
87 *  This routine performs the actions specific to this package for
88 *  the request from another node.
89 */
90
91void _POSIX_Semaphore_MP_Process_packet(
92  MP_packet_Prefix *the_packet_prefix
93)
94{
95  POSIX_MP_NOT_IMPLEMENTED();
96}
97
98/*
99 *  _POSIX_Semaphore_MP_Send_object_was_deleted
100 *
101 *  DESCRIPTION:
102 *
103 *  This routine is invoked indirectly by the thread queue
104 *  when a proxy has been removed from the thread queue and
105 *  the remote node must be informed of this.
106 */
107
108void _POSIX_Semaphore_MP_Send_object_was_deleted(
109  Thread_Control *the_proxy
110)
111{
112  POSIX_MP_NOT_IMPLEMENTED();
113}
114
115/*
116 *  _POSIX_Semaphore_MP_Send_extract_proxy
117 *
118 *  DESCRIPTION:
119 *
120 *  This routine is invoked when a task is deleted and it
121 *  has a proxy which must be removed from a thread queue and
122 *  the remote node must be informed of this.
123 */
124
125void _POSIX_Semaphore_MP_Send_extract_proxy(
126  Thread_Control *the_thread
127)
128{
129  POSIX_MP_NOT_IMPLEMENTED();
130}
131
132/*
133 *  _POSIX_Semaphore_MP_Get_packet
134 *
135 *  DESCRIPTION:
136 *
137 *  This function is used to obtain a semaphore mp packet.
138 */
139
140POSIX_Semaphore_MP_Packet *_POSIX_Semaphore_MP_Get_packet( void )
141{
142  POSIX_MP_NOT_IMPLEMENTED();
143  return NULL;
144}
145
146#endif /* endif RTEMS_MULTIPROCESSING */
Note: See TracBrowser for help on using the repository browser.