summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2018-02-21 14:47:09 -0800
committerErik Kline <ek@google.com>2018-02-22 11:14:57 -0800
commitce194e0659c92f4b4bc71d1842c449df1013be14 (patch)
tree010fd018f7325fc8ebf5a5ce27eb59f0c84a31f5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent2519de11c3d139db663d0975c2be507aa84c15b7 (diff)
Allow callers to synchronously block for shutdown
Add a simple CountDownLatch and a public method that callers can use to block until IpClient has cleanly shutdown the state machine. In cases where IpClients are created and destroyed dynamically for the same interface name, this can be used to make sure only one IpClient at a time is touching the given interface. Test: as follows - built - flashed - booted - OTG ethernet works (i.e. client mode) - removing and reinserting the ethernet dongle continues to show the <-> Ethernet sysui icon and basic network connectivity works - removing and reinserting the cable (link up/down events) also shows the <-> Ethernet sysui icon and basic network connectivity works Bug: 62476366 Change-Id: If4bffd54b7ebc088ec07cac10251e451f8161b6c
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions