Note that all the methods, even get(), need to be synchronized for the class to be thread-safe, to ensure that no updates are lost, and that all threads see the most recent value of the counter.
注意所有方法,甚至需要同步get(),使类成为线程安全的类,从而确保没有任何更新信息丢失,所有线程都看到计数器的最新值。
You then use register 127 as your loop counter and register 126 as your base pointer, and perform convert_to_upper on each value until you get to the end of the buffer.
然后再将寄存器127用作循环计数器,将寄存器126用作基指针,并在每个值上执行convert _ to_upper,直到到达缓冲区的底部为止。
You then use register 127 as your loop counter and register 126 as your base pointer, and perform convert_to_upper on each value until you get to the end of the buffer.
然后再将寄存器127用作循环计数器,将寄存器126用作基指针,并在每个值上执行convert _ to_upper,直到到达缓冲区的底部为止。
应用推荐