Users/fr/Code/electron/out/D/Electron.app/Contents/MacOS/Electron'(x86_64)Process25244stopped*thread#1:tid
start_outer,3>"Startoutertransaction"),3>et_collector:report_event(Collector,40,mnesia_tm,my_shell,new_tid
另见ErlDrvTime和ErlDrvTimeUnit... interl_drv_equal_tids(ErlDrvTidtid1,ErlDrvTidtid2) 比较两个线程标识符,tid1和tid2
match_pattern()=atom()|tuple()tab()=atom()|tid()tid()表标识符,由new/2...type()=set|ordered_set|bag|duplicate_bag
第一个字段(由元素(1,ActivityId)获得)包含一个原子,可以将其解释为活动类型:ets,async_dirty,sync_dirty或tid。tid表示该活动是一项交易。
intenif_thread_create(char*name,ErlNifTid*tid,void*(*func)(void*),void*args,ErlNifThreadOpts*opts) 和erl_drv_thread_create
212SYS_EPOLL_CREATE=213SYS_EPOLL_CTL_OLD=214SYS_EPOLL_WAIT_OLD=215SYS_REMAP_FILE_PAGES=216SYS_GETDENTS64=217SYS_SET_TID_ADDRESS
该src/core/ngx_thread_pool.h头文件包含的相关定义: structngx_thread_task_s{ngx_thread_task_t*next;ngx_uint_tid;void