comparison src/c/urweb.c @ 1431:4a6f84092399

Represent 'unit' as C 'int'; change pattern match compilation to avoid 'goto'; change Postgres prepared statement compilation to make life easier for the GCC escape analysis; all this in support of better tail call optimization
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Mar 2011 18:51:15 -0500
parents eecbffc2b907
children 6ff10428de4a
comparison
equal deleted inserted replaced
1430:36c0a1be3f5a 1431:4a6f84092399
18 18
19 #include <pthread.h> 19 #include <pthread.h>
20 20
21 #include "types.h" 21 #include "types.h"
22 22
23 uw_unit uw_unit_v = {}; 23 uw_unit uw_unit_v = 0;
24 24
25 25
26 // Socket extras 26 // Socket extras
27 27
28 int uw_really_send(int sock, const void *buf, ssize_t len) { 28 int uw_really_send(int sock, const void *buf, ssize_t len) {