ft_thread_self,(1)

NAME
ft_thread_self, ft_thread_scheduler - get the calling thread and scheduler

  SYNOPSIS

#include <fthread.h>
ft_thread_t    ft_thread_self      (void);
ft_scheduler_t ft_thread_scheduler (void);

  DESCRIPTION
ft_thread_self returns the calling thread. ft_thread_scheduler returns the scheduler of the calling thread.

  ERRORS
The value NULL is returned by ft_thread_self when the calling thread is not correctly created, or by ft_thread_scheduler when the calling thread is not correctly created or is unlinked.

AUTHOR