aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_time.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-12-16 19:39:07 +0100
committerBjörn-Egil Dahlberg <[email protected]>2010-12-29 12:25:26 +0100
commite7a56088a38bf79a650659b5b6381f71af75c740 (patch)
tree27c002551bc1c037910000db5f0c71079ca5b9fb /erts/emulator/beam/erl_time.h
parent454f2ef1c95a9d543fc5a66eca4f286a3144b7ce (diff)
downloadotp-e7a56088a38bf79a650659b5b6381f71af75c740.tar.gz
otp-e7a56088a38bf79a650659b5b6381f71af75c740.tar.bz2
otp-e7a56088a38bf79a650659b5b6381f71af75c740.zip
Teach timer-wheel slots to use double linked lists
Conflicts: erts/emulator/beam/erl_time.h
Diffstat (limited to 'erts/emulator/beam/erl_time.h')
-rw-r--r--erts/emulator/beam/erl_time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_time.h b/erts/emulator/beam/erl_time.h
index f4e230655d..93d8ea4cb4 100644
--- a/erts/emulator/beam/erl_time.h
+++ b/erts/emulator/beam/erl_time.h
@@ -28,6 +28,7 @@ extern SysTimeval erts_first_emu_time;
*/
typedef struct erl_timer {
struct erl_timer* next; /* next entry tiw slot or chain */
+ struct erl_timer* prev; /* prev entry tiw slot or chain */
Uint slot; /* slot in timer wheel */
Uint count; /* number of loops remaining */
int active; /* 1=activated, 0=deactivated */