#include "abti.h"
#include "thread_queue.h"
 
Go to the source code of this file.
 | 
| static int  | pool_init (ABT_pool pool, ABT_pool_config config) | 
|   | 
| static void  | pool_free (ABT_pool pool) | 
|   | 
| static ABT_bool  | pool_is_empty (ABT_pool pool) | 
|   | 
| static size_t  | pool_get_size (ABT_pool pool) | 
|   | 
| static void  | pool_push (ABT_pool pool, ABT_unit unit, ABT_pool_context context) | 
|   | 
| static ABT_thread  | pool_pop (ABT_pool pool, ABT_pool_context context) | 
|   | 
| static ABT_thread  | pool_pop_wait (ABT_pool pool, double time_secs, ABT_pool_context context) | 
|   | 
| static void  | pool_push_many (ABT_pool pool, const ABT_unit *units, size_t num_units, ABT_pool_context context) | 
|   | 
| static void  | pool_pop_many (ABT_pool pool, ABT_thread *threads, size_t max_threads, size_t *num_popped, ABT_pool_context context) | 
|   | 
| static void  | pool_print_all (ABT_pool pool, void *arg, void(*print_fn)(void *, ABT_thread)) | 
|   | 
| static ABT_unit  | pool_create_unit (ABT_pool pool, ABT_thread thread) | 
|   | 
| static void  | pool_free_unit (ABT_pool pool, ABT_unit unit) | 
|   | 
| static int  | pool_remove (ABT_pool pool, ABT_unit unit) | 
|   | 
| static ABT_unit  | pool_pop_timedwait (ABT_pool pool, double abstime_secs) | 
|   | 
| static ABT_bool  | pool_unit_is_in_pool (ABT_unit unit) | 
|   | 
| static data_t *  | pool_get_data_ptr (void *p_data) | 
|   | 
| static void  | convert_double_sec_to_timespec (struct timespec *ts_out, double seconds) | 
|   | 
◆ data_t
◆ convert_double_sec_to_timespec()
  
  
      
        
          | static void convert_double_sec_to_timespec  | 
          ( | 
          struct timespec *  | 
          ts_out,  | 
         
        
           | 
           | 
          double  | 
          seconds  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ pool_create_unit()
◆ pool_free()
◆ pool_free_unit()
◆ pool_get_data_ptr()
  
  
      
        
          | static data_t* pool_get_data_ptr  | 
          ( | 
          void *  | 
          p_data | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ pool_get_size()
  
  
      
        
          | static size_t pool_get_size  | 
          ( | 
          ABT_pool  | 
          pool | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ pool_init()
◆ pool_is_empty()
◆ pool_pop()
◆ pool_pop_many()
◆ pool_pop_timedwait()
◆ pool_pop_wait()
◆ pool_print_all()
  
  
      
        
          | static void pool_print_all  | 
          ( | 
          ABT_pool  | 
          pool,  | 
         
        
           | 
           | 
          void *  | 
          arg,  | 
         
        
           | 
           | 
          void(*)(void *, ABT_thread)  | 
          print_fn  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ pool_push()
◆ pool_push_many()
◆ pool_remove()
◆ pool_unit_is_in_pool()