#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#include "kconfig.h"
 
Go to the source code of this file.
 | 
| enum   | { PAGE_TOTAL_SIZE = 0
, PAGE_FREE_SIZE = 1
, HEAP_TOTAL_SIZE = 2
, HEAP_FREE_SIZE = 3
 } | 
|   | 
◆ delay_ticks()
      
        
          | int delay_ticks  | 
          ( | 
          uint32_t  | 
          ticks | ) | 
           | 
        
      
 
To cause the calling thread to sleep for the given ticks. 
- Parameters
 - 
  
    | ticks | The ticks of time to sleep  | 
  
   
- Return values
 - 
  
    | int | 0 on success and nonzero error number on error.  | 
  
   
 
 
◆ minfo()
Get memory information of the system. 
- Parameters
 - 
  
    | name | The information to acquire (check MINFO_NAMES).  | 
  
   
- Return values
 - 
  
    | int | For returning the acquired information.  | 
  
   
 
 
◆ sched_start()
      
        
          | void sched_start  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Start the operating system. 
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
 
 
◆ setprogname()
      
        
          | void setprogname  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
        
      
 
Set the name of the running thread. 
- Parameters
 - 
  
    | name | The name of the program.  | 
  
   
- Return values
 - 
  
  
 
 
 
◆ thread_info()
Get the thread information iteratively. 
- Parameters
 - 
  
    | info | For returning thread information.  | 
    | next | The pointer to the the next thread. The initial argument should be set with NULL.  | 
  
   
- Return values
 - 
  
    | void | *: The pointer to the next thread. The function returns NULL if next thread does not exist.  |