MCPcopy Create free account
hub / github.com/MOBIN-F/Thread / get

Method get

src/com/mobin/thread/ProducerAndConsumer/EventStorage.java:40–51  ·  view source on GitHub ↗

get方法检查存储列表storage是否还有数据,如果没有,就调用wait方法挂起线程并等待数据的出现, 当其他线程调用notifyAll方法时挂起的线程将被唤醒并且再次检查这个条件

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected