MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4gkgdv/nodejs_v60_released/d2jy2s2
r/programming • u/Bieb • Apr 26 '16
79 comments sorted by
View all comments
Show parent comments
0
You used the concept of threads when I explicitly mentioned not to do this. You know timers can exist without threads right? DispatcherTimer does this in WPF (https://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer(v=vs.110).aspx)
You need 24 queues, and 24 timers, and one node instance which will have a "dispatchTimers" called some point in its event loop.
0 u/[deleted] Apr 27 '16 [removed] — view removed comment 1 u/RazerWolf Apr 27 '16 1 thread. Not 24. It's O(1).
[removed] — view removed comment
1 u/RazerWolf Apr 27 '16 1 thread. Not 24. It's O(1).
1
1 thread. Not 24. It's O(1).
0
u/RazerWolf Apr 27 '16
You used the concept of threads when I explicitly mentioned not to do this. You know timers can exist without threads right? DispatcherTimer does this in WPF (https://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer(v=vs.110).aspx)
You need 24 queues, and 24 timers, and one node instance which will have a "dispatchTimers" called some point in its event loop.