rt_use_fp

Name

rt_use_fp -- PURPOSE

Synopsis

     
       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);

WARNING

This is an RTLinux v1.x compatibility function. For new programs, please see pthread_setfp_np(3), pthread_attr_setfp_np.

DESCRIPTION

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.

RETURN VALUE

None.

ERRORS

None.

SEE ALSO

rt_task_delete(3), rt_task_init(3), rt_task_make_periodic(3), rt_task_suspend(3), rt_task_wait(3), pthread_setfp_np(3), pthread_attr_setfp_np(3)

©1997 Jerry Epplin.

Modifications for RTLinux 2.x and 3.x by Michael Barabanov. ©2001 FSMLabs Inc.

All rights reserved.