Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

rt_scheduler_unix.c

Go to the documentation of this file.
00001 /*
00002  * rt_scheduler_unix.c
00003  *
00004  * Copyright (c) 2004 The University of Utah and the Flux Group.
00005  * All rights reserved.
00006  *
00007  * This file is licensed under the terms of the GNU Public License.  
00008  * See the file "license.terms" for restrictions on redistribution 
00009  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  */
00011 
00012 /**
00013  * @file rt_scheduler_unix.c
00014  *
00015  * Empty implementation of the rt_scheduler interface.
00016  */
00017 
00018 #include "config.h"
00019 
00020 #include <errno.h>
00021 #include <stdio.h>
00022 
00023 #include "rt_scheduler.h"
00024 
00025 int rts_query_scheduler(rts_scheduler_data_t rsd)
00026 {
00027     int retval = 0;
00028 
00029     if( rsd == NULL )
00030     {
00031         retval = EINVAL;
00032     }
00033     else
00034     {
00035         rsd->rsd_Flags = 0;
00036         rsd->rsd_MaxReservable = 0.0;
00037     }
00038     return( retval );
00039 }
00040 
00041 int rts_grab_schedulable(rts_schedulable_t *rs,
00042                          pid_t member,
00043                          const char *name)
00044 {
00045     int retval = ENOSYS;
00046 
00047     return( retval );
00048 }
00049 
00050 int rts_release_schedulable(rts_schedulable_t rs)
00051 {
00052     int retval = ENOSYS;
00053 
00054     return( retval );
00055 }
00056 
00057 int rts_set_schedule(rts_schedulable_t rsa, rts_schedule_t rs)
00058 {
00059     int retval = ENOSYS;
00060 
00061     return( retval );
00062 }
00063 
00064 int rts_get_schedule(rts_schedulable_t rsa, rts_schedule_t rs)
00065 {
00066     int retval = ENOSYS;
00067 
00068     return( retval );
00069 }
00070 
00071 int rts_clear_schedule(rts_schedulable_t rsa)
00072 {
00073     int retval = ENOSYS;
00074     
00075     return( retval );
00076 }

Generated on Fri Oct 22 07:50:24 2004 for CPU Broker by  doxygen 1.3.9.1