阅读背景:

创建一个可以被数据流中的所有线程访问的对象

来源:互联网 

I'd like to create an object (like a shared memory) that could be accessed (read-write fashion) by all threads. Although not important for this question, the object is a hashmap that I can read/write data to from all threads. It's like a read-write shared var.I'd like to create an object (like a shared mem




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: