ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/raypwin.c
Revision: 2.1
Committed: Fri Feb 8 18:27:31 2008 UTC (16 years, 2 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Created stub routines as placeholder for Windows version of raypcalls

File Contents

# User Rev Content
1 greg 2.1 #ifndef lint
2     static const char RCSid[] = "$Id$";
3     #endif
4     /*
5     * raypwin.c - interface for parallel rendering using Radiance (Windows ver)
6     *
7     * External symbols declared in ray.h
8     */
9    
10     #include "copyright.h"
11    
12     /*
13     * See raypcalls.c for an explanation of these routines.
14     */
15    
16     /***** XXX CURRENTLY, THIS IS JUST A COLLECTION OF FATAL STUBS XXX *****/
17    
18     #include "ray.h"
19    
20    
21     extern void
22     ray_pinit( /* initialize ray-tracing processes */
23     char *otnm,
24     int nproc
25     )
26     {
27     error(CONSISTENCY, "parallel ray processing unimplemented");
28     }
29    
30    
31     extern void
32     ray_psend( /* add a ray to our send queue */
33     RAY *r
34     )
35     {
36     error(CONSISTENCY, "parallel ray processing unimplemented");
37     }
38    
39    
40     extern int
41     ray_pqueue( /* queue a ray for computation */
42     RAY *r
43     )
44     {
45     return(0);
46     }
47    
48    
49     extern int
50     ray_presult( /* check for a completed ray */
51     RAY *r,
52     int poll
53     )
54     {
55     return(-1);
56     }
57    
58    
59     extern void
60     ray_pdone( /* reap children and free data */
61     int freall
62     )
63     {
64     }
65    
66    
67     extern void
68     ray_popen( /* open the specified # processes */
69     int nadd
70     )
71     {
72     error(CONSISTENCY, "parallel ray processing unimplemented");
73     }
74    
75    
76     extern void
77     ray_pclose( /* close one or more child processes */
78     int nsub
79     )
80     {
81     }
82    
83    
84     void
85     quit(ec) /* make sure exit is called */
86     int ec;
87     {
88     exit(ec);
89     }