Patrick Pelissier
|
38c15cebe2
|
Add statistics about how much overwrite has been done by the buffer.
Unlikley the test about overwrite.
|
2017-07-19 22:46:53 +02:00 |
|
Patrick Pelissier
|
b241933556
|
Properly introduce contract for buffers.
|
2017-07-19 22:38:01 +02:00 |
|
Patrick Pelissier
|
3d9ba5cee4
|
Add the function buffer_size to return the number of objects in the buffer
waiting to be processed.
|
2017-07-15 16:38:59 +02:00 |
|
Patrick Pelissier
|
5c35411f43
|
Update TODO (priority queue needs their own headers).
|
2017-06-19 21:33:43 +02:00 |
|
Patrick Pelissier
|
1739de33c2
|
Remove hard dependency of INIT_MOVE operator for buffer.
|
2017-04-23 22:52:47 +02:00 |
|
Patrick Pelissier
|
bc1e9239cc
|
Clean up usage of policy within buffer.
|
2017-04-23 22:46:51 +02:00 |
|
Patrick Pelissier
|
997601c54a
|
Rename M_C3(buffer_, name,_t) into buffer_t
|
2017-04-23 18:59:06 +02:00 |
|
Patrick Pelissier
|
4991386bb7
|
Add FREE operator.
Use it instead of DEL if necessary.
|
2017-04-06 01:21:11 +02:00 |
|
Patrick Pelissier
|
40b3b04d55
|
Fix bug
|
2017-03-27 16:54:41 +02:00 |
|
Patrick Pelissier
|
00f912a504
|
Replace M_MEMORY_ALLOC / M_MEMORY_FREE by M_GET_NEW / M_GET_DEL
It allows a dual layer of overloading for the memory.
|
2017-03-19 22:15:01 +01:00 |
|
Patrick Pelissier
|
0d21ac12bf
|
Port mutex to use static inline instead of MACRO:
* cleaner
* fix bug in existing code detected by the changes.
*** Break API (you need to go to lower case instead of upper case) ***
|
2017-03-17 22:02:17 +01:00 |
|
Patrick Pelissier
|
a185d08734
|
Add comments
|
2017-03-06 22:25:35 +01:00 |
|
Patrick Pelissier
|
4d019ca1f2
|
Update library name in headers.
|
2017-02-20 21:29:21 +01:00 |
|
Patrick Pelissier
|
cb433aa2a8
|
Rename macros:
* CAT* --> M_C*
|
2017-02-19 00:36:42 +01:00 |
|
Patrick Pelissier
|
8e9d20ba1a
|
Add initial stuff
|
2017-02-18 18:51:04 +01:00 |
|