summaryrefslogtreecommitdiffstats
path: root/gatchat/ringbuffer.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10gatchat: Update copyright informationMarcel Holtmann1-1/+1
2011-03-16ringbuffer: Switch ringbuffer to g_slice allocatorPatrick Porlan1-4/+4
This should allow for more efficient handling of equally sized buffers, in terms of alignment and recycling.
2011-03-02gatchat: Optimize ringbuffer modulo operationsPatrick Porlan1-6/+8
Replace modulo operations in ringbuffer.c by masking operations. This is possible because the size of the ring buffers is always a power of two, and yields a small performance improvement. The improvement should be mostly visible on processors that implement division in microcode (Atom) or lack a division instruction (ARM).
2010-11-29gatchat: explicitly compare pointers to NULLLucas De Marchi1-7/+7
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-04-24Add offset parameter to ring_buffer_write_ptr() functionMarcel Holtmann1-2/+3
2010-04-02Hide internals of ring buffer structureMarcel Holtmann1-0/+7
2010-04-02Fix some cases where g_try_new should be usedMarcel Holtmann1-4/+2
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-05-06Add AT chat library implementationDenis Kenzior1-0/+199