/*71:*/ //line 90 "/usr/local/yacco2/o2linker/o2linker_defs.w" #include "o2linker.h" /*68:*/ //line 10 "/usr/local/yacco2/o2linker/o2linker_defs.w" extern void PRINT_CALLED_THREAD_LIST(AST*Node,std::ofstream*Ow_linker_file,int Idx) { char big_buf_[BIG_BUFFER_32K]; thread_attributes*ta= (thread_attributes*)AST::content(*Node); KCHARP w_called_threads= "\\Linkercalledthreads{%s}{%i}"; char xlate_gfile[Max_cweb_item_size]; XLATE_SYMBOLS_FOR_cweave(ta->thread_name_->c_string()->c_str(),xlate_gfile); int x= sprintf(big_buf_ ,w_called_threads ,xlate_gfile ,Idx ); (*Ow_linker_file).write(big_buf_,x); (*Ow_linker_file)<cur_stk_rec_; idx_= stk_env_->idx_; yacco2::INT pidx= idx_-1; cnode_= srec_->node_; if(pidx<=0)goto prt_prefix; { ast_base_stack::s_rec*psrec= stk_env_->stk_rec(pidx); } prt_prefix: /*69:*/ //line 75 "/usr/local/yacco2/o2linker/o2linker_defs.w" LOCK_MUTEX(yacco2::TRACE_MU); if(yacco2::YACCO2_MU_TRACING__){ yacco2::lrclog<<"YACCO2_MU_TRACING__::Acquired trace mu"<stk_rec(x)->act_==ast_base_stack::left)++no_lt; /*70:*/ //line 83 "/usr/local/yacco2/o2linker/o2linker_defs.w" if(yacco2::YACCO2_MU_TRACING__){ yacco2::lrclog<<"YACCO2_MU_TRACING__::Releasing trace mu"<