alnsn
|
976959cf87
|
Revert to more readable but non-standard use of offsetof to calculate
a size of a structure with a flexible array member.
|
2012-01-31 20:40:09 +00:00 |
|
alnsn
|
04804f532f
|
Replace offsetof(pcq_t, pcq_items[nitems]) with sizeof(pcq_t) + sizeof(void *[nitems]).
|
2012-01-31 19:11:37 +00:00 |
|
rmind
|
f1f4283156
|
Replace pcq(9) with the implementation from ad@ and minor changes by me.
PR/40516, PR/45631.
|
2012-01-22 02:55:47 +00:00 |
|
rmind
|
9204531a37
|
- Optimise by avoiding few memory barriers, when atomic operations
performs that for us. OK by <matt>.
- Add RCS ID, and a bit of KNF.
|
2008-11-11 21:45:33 +00:00 |
|
snj
|
351a2e6266
|
Fix a couple spelling mistakes in comments.
|
2008-11-11 20:37:15 +00:00 |
|
matt
|
c8d306e353
|
Add generic producer/consumer queue code.
|
2008-11-11 20:17:27 +00:00 |
|