Mercurial > urweb
annotate include/urweb/queue.h @ 1931:1a04b1edded2
Fix regression in http.c for long-polling connections; add lazy initialization of database connections, to avoid the overhead in handlers that don't use SQL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 11 Dec 2013 14:57:54 -0500 |
parents | c414850f206f |
children |
rev | line source |
---|---|
ezyang@1739 | 1 #ifndef QUEUE_H |
ezyang@1739 | 2 #define QUEUE_H |
ezyang@1739 | 3 |
ezyang@1739 | 4 int uw_dequeue(); |
ezyang@1739 | 5 void uw_enqueue(int); |
ezyang@1739 | 6 |
ezyang@1739 | 7 #endif |