Module tid_allocator

Module tid_allocator 

Source
Expand description

简单的任务ID分配器实现

Structs§

TidAllocator
简单的任务ID分配器。 每次调用allocate方法时,都会返回一个唯一的任务ID。 任务ID从1开始递增。