rtl_getcpuid

Name

rtl_getcpuid -- get the current processor id

Synopsis

       #include <rtl_core.h>

       int rtl_getcpuid();

DESCRIPTION

This function is a non-portable Realtime Linux extension. rtl_getcpuid returns the processor id on which the current thread executes.

ERRORS

None.

SEE ALSO

pthread_attr_setcpu_np(3)

2001 FSMLabs Inc.

All rights reserved.