Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 584ef8f

Browse files
faernJethro Beekman
authored and
Jethro Beekman
committed
Update RWLOCK_INIT with new parking_lot based value
1 parent 53b5863 commit 584ef8f

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

libunwind/src/UnwindRustSgx.h

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,8 @@ typedef struct {
2828
} RWLock;
2929

3030
// The below is obtained by printing initialized bytes
31-
// for RWLock in rust repo: src/libstd/sys/sgx/rwlock.rs.
31+
// for RWLock in rust repo: src/libstd/sys/sgx/unwind.rs.
3232
#define RWLOCK_INIT { \
33-
0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
34-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
35-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
36-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
37-
0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
38-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
39-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
40-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
41-
0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
42-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
43-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
44-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
45-
0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
46-
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
4733
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
4834
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, \
4935
}

0 commit comments

Comments
 (0)