summaryrefslogtreecommitdiff
path: root/gatchat/ringbuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* gatchat: Update copyright informationMarcel Holtmann2011-10-101-1/+1
|
* ringbuffer: Switch ringbuffer to g_slice allocatorPatrick Porlan2011-03-161-4/+4
| | | | | This should allow for more efficient handling of equally sized buffers, in terms of alignment and recycling.
* gatchat: Optimize ringbuffer modulo operationsPatrick Porlan2011-03-021-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).
* gatchat: explicitly compare pointers to NULLLucas De Marchi2010-11-291-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>
* Add offset parameter to ring_buffer_write_ptr() functionMarcel Holtmann2010-04-241-2/+3
|
* Hide internals of ring buffer structureMarcel Holtmann2010-04-021-0/+7
|
* Fix some cases where g_try_new should be usedMarcel Holtmann2010-04-021-4/+2
|
* Update copyright informationMarcel Holtmann2010-01-011-1/+1
|
* Add AT chat library implementationDenis Kenzior2009-05-061-0/+199