File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1862,6 +1862,8 @@ typedef struct _jl_task_t {
18621862JL_DLLEXPORT  jl_task_t  * jl_new_task (jl_function_t * , jl_value_t * , size_t );
18631863JL_DLLEXPORT  void  jl_switchto (jl_task_t  * * pt );
18641864JL_DLLEXPORT  int  jl_set_task_tid (jl_task_t  * task , int  tid ) JL_NOTSAFEPOINT ;
1865+ JL_DLLEXPORT  int16_t  jl_tid_to_relative (int16_t  rawtid ) JL_NOTSAFEPOINT ;
1866+ JL_DLLEXPORT  int16_t  jl_tid_to_poolid (int16_t  tid ) JL_NOTSAFEPOINT ;
18651867JL_DLLEXPORT  void  JL_NORETURN  jl_throw (jl_value_t  * e  JL_MAYBE_UNROOTED );
18661868JL_DLLEXPORT  void  JL_NORETURN  jl_rethrow (void );
18671869JL_DLLEXPORT  void  JL_NORETURN  jl_sig_throw (void );
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ JL_DLLEXPORT int16_t jl_threadid(void)
299299}
300300
301301// return calling thread's relative ID (with respect to its threadpool) 
302- int16_t  jl_tid_to_relative (int16_t  rawtid )
302+ JL_DLLEXPORT   int16_t  jl_tid_to_relative (int16_t  rawtid )
303303{
304304    if  (rawtid  <  0 )
305305        return  rawtid ;
@@ -315,7 +315,7 @@ JL_DLLEXPORT int16_t jl_relative_threadid(void)
315315    return  jl_tid_to_relative (jl_current_task -> tid );
316316}
317317
318- int16_t  jl_tid_to_poolid (int16_t  tid )
318+ JL_DLLEXPORT   int16_t  jl_tid_to_poolid (int16_t  tid )
319319{
320320    int  tp_offset  =  0 ;
321321    for  (int  tp  =  0 ; tp  <  jl_threadpools ; tp ++ ) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments