WARNING - This is an RTLinux v1.x compatibility function. For new programs, please see pthread_setfp_np(3), pthread_attr_setfp_np. #define MODULE #include <linux/module.h> #include <linux/kernel.h> #include <linux/version.h> #include <linux/errno.h> #include <asm/rt_sched.h> void rt_use_fp(int allow); |
This is an RTLinux v1.x compatibility function. For new programs, please see pthread_setfp_np(3), pthread_attr_setfp_np.
rt_use_fp allows or disallows the use of floating-point arithmetic operations in a realtime task. allow is zero to disallow floating-point operations, or non-zero to allow them.
©1997 Jerry Epplin.
Modifications for RTLinux 2.x and 3.x by Michael Barabanov. ©2001 FSMLabs Inc.
All rights reserved.