File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9470e5d7d56b4e697e6ba96e8f0cc10c64f0bdf0
2
+ refs/heads/master: 3dbce4ebea8b36c873b1b29e5a56d5a8b86feee6
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ impl &rwlock {
315
315
* tasks may run concurrently with this one.
316
316
*/
317
317
fn read < U > ( blk : fn ( ) -> U ) -> U {
318
+ let mut release = none;
318
319
unsafe {
319
320
do task:: unkillable {
320
321
do ( & self . order_lock ) . access {
@@ -328,9 +329,9 @@ impl &rwlock {
328
329
( & self . access_lock ) . acquire ( ) ;
329
330
}
330
331
}
332
+ release = some ( rwlock_release_read ( self ) ) ;
331
333
}
332
334
}
333
- let _z = rwlock_release_read ( self ) ;
334
335
blk ( )
335
336
}
336
337
You can’t perform that action at this time.
0 commit comments