diff options
author | Sverker Eriksson <[email protected]> | 2017-04-20 17:53:31 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-09-15 10:04:42 +0200 |
commit | 5c7a869b8d0e4aeec9902a1316d672860790076c (patch) | |
tree | b6cb06f84df228c7c7c494d8bd6e0bca18e90c7b /erts/emulator/sys/win32 | |
parent | 6c1bb4bcfce103b3ef95e43fa5376b7d611ccc79 (diff) | |
download | otp-5c7a869b8d0e4aeec9902a1316d672860790076c.tar.gz otp-5c7a869b8d0e4aeec9902a1316d672860790076c.tar.bz2 otp-5c7a869b8d0e4aeec9902a1316d672860790076c.zip |
erts: Rename ErtsPollSet_ structS to not confuse gdb
by having different structs with same name.
Diffstat (limited to 'erts/emulator/sys/win32')
-rw-r--r-- | erts/emulator/sys/win32/erl_poll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/sys/win32/erl_poll.c b/erts/emulator/sys/win32/erl_poll.c index 0bd43bb4fb..7a87e81141 100644 --- a/erts/emulator/sys/win32/erl_poll.c +++ b/erts/emulator/sys/win32/erl_poll.c @@ -274,7 +274,7 @@ typedef struct _Waiter { /* * The structure for a pollset. There can currently be only one... */ -struct ErtsPollSet_ { +struct erts_pollset { Waiter** waiter; int allocated_waiters; /* Size ow waiter array */ int num_waiters; /* Number of waiter threads. */ @@ -1284,7 +1284,7 @@ void erts_poll_info(ErtsPollSet ps, HARDTRACEF(("In erts_poll_info")); ERTS_POLLSET_LOCK(ps); - size += sizeof(struct ErtsPollSet_); + size += sizeof(struct erts_pollset); size += sizeof(Waiter *) * ps->allocated_waiters; for (i = 0; i < ps->num_waiters; ++i) { Waiter *w = ps->waiter[i]; @@ -1326,7 +1326,7 @@ void erts_poll_info(ErtsPollSet ps, ErtsPollSet erts_poll_create_pollset(void) { ErtsPollSet ps = SEL_ALLOC(ERTS_ALC_T_POLLSET, - sizeof(struct ErtsPollSet_)); + sizeof(struct erts_pollset)); HARDTRACEF(("In erts_poll_create_pollset")); ps->num_waiters = 0; |