Commit Graph

57 Commits

Author SHA1 Message Date
9630ae588e Fixed bugs and cleaned code 2013-06-27 12:18:25 +03:00
70b19a0481 Fixed printing issues. 2013-06-26 23:43:57 +03:00
b74423121f Removed references to epoll code. 2013-06-26 23:26:21 +03:00
ef1d198654 Changed log manager API so that pointer reference to logmanager is not used anymore. Every call initializes logmanager now except skygw_logmanager_done and skygw_log_flush.
skygw_logmanager_init is still useful because it allows for providing memory address for log manager where it can store a list of preallocated write buffers. TBD.

Logmanager access is now protected with spinlock familiar from epoll/core/spinlock.c . It is modified to avoid trashing; misses are counted and every tenth subsequent lock acquiring attempt triggers short random sleep.
2013-06-26 23:13:40 +03:00
2ea8e2a05a Added licences and changed the use of zero-length arrays due to compiler problems. 2013-06-26 09:39:38 +03:00
b82ee51b7a Tiny changes, more tests. 2013-06-25 22:13:48 +03:00
8178e4e239 New, yet primitive version of log writing functionality. Fixed some things in utils. 2013-06-25 21:14:03 +03:00