News for hackers. Stuff that matters.
Re:uWebSockets: Scalable WebSocket server library for Node.j... by babuskov on Friday May 20, 2016 @10:41AM (#11738139)
Not sure if that's wrong, but it seems that the program would crash if you call pop() on an empty Queue? I guess it never happens in this particular program, which I assume was the reason to squeeze even more performance.
Re:uWebSockets: Scalable WebSocket server library for Node.j... by alexhultman on Friday May 20, 2016 @11:15AM (#11738482)
Yes it would cause undefined behavior but empty() is checked before popping.