Commit 2586bda59a3c668c56987472c2f6785296e762aa

Con Kolivas 2012-05-31T09:40:32

Use only one longpoll as much as possible by using a pthread conditional broadcast that each longpoll thread waits on and checks if it's the current pool before opening its longpoll connection.