Nils O. Selåsdal
|
afc3148de3
|
Update slot_allocator
|
2026-04-21 13:10:03 +02:00 |
|
Nils O. Selåsdal
|
24d9994c87
|
Header only file doesn't need c++ guard
|
2026-04-20 23:38:21 +02:00 |
|
Nils O. Selåsdal
|
d85735add9
|
Simple slot allocator
|
2026-04-20 23:36:55 +02:00 |
|
Nils O. Selåsdal
|
0c6301954f
|
Update sarena.h, header only now
|
2026-04-19 21:05:57 +02:00 |
|
Nils O. Selåsdal
|
fc418f6163
|
sarena, add temp allocations
|
2026-04-19 04:23:52 +02:00 |
|
Nils O. Selåsdal
|
aba9cba602
|
Reformat & cleanup
|
2026-04-19 04:23:12 +02:00 |
|
Nils O. Selåsdal
|
a4547f6736
|
spool: Clean up with gcc/clang specific features
|
2026-04-07 21:02:54 +02:00 |
|
Nils O. Selåsdal
|
b2f834b7cd
|
cmake: Debug build sets DEBUG, properly find check lib
|
2026-04-06 23:40:21 +02:00 |
|
Nils O. Selåsdal
|
85713d25c1
|
Add pool allocator
|
2026-04-06 22:20:49 +02:00 |
|
Nils O. Selåsdal
|
7cf73fe561
|
Fix sarena comments
|
2026-04-06 22:20:32 +02:00 |
|
Nils O. Selåsdal
|
3e4826cf36
|
Add simple static arena allocator
|
2026-04-06 15:02:34 +02:00 |
|
Nils O. Selåsdal
|
b2d56f8094
|
Macro safe slot_allocator.h
|
2025-07-21 20:30:33 +02:00 |
|
Nils O. Selåsdal
|
251246924d
|
Add slot allocator
|
2025-07-21 19:57:26 +02:00 |
|
Nils O. Selåsdal
|
7408c48dff
|
Add uc_bv_find_first_zero
|
2025-07-20 21:44:36 +02:00 |
|
Nils O. Selåsdal
|
0f6f6d4ccc
|
Merge branch 'master' of https://sdal.tech/gitea/noselasd/libucore into cmake
|
2025-07-16 00:10:44 +02:00 |
|
Nils O. Selåsdal
|
1f6dee3a9a
|
Tidy up ringbuf and make tests
|
2025-07-05 20:03:24 +02:00 |
|
Nils O. Selåsdal
|
43f3a3372e
|
Allow wquque to use callback to free an mbuf - so
mbufs can be reused/pooled
|
2016-12-07 20:58:39 +01:00 |
|
Nils O. Selåsdal
|
20a14306bb
|
Clarify uc_timer_add docs
|
2016-03-19 18:57:49 +01:00 |
|
Nils O. Selåsdal
|
21703ded30
|
prefux gettokens/getfields with uc_
|
2016-03-09 00:10:23 +01:00 |
|
Nils O. Selåsdal
|
28d56d64f6
|
Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev
|
2016-03-07 22:14:07 +01:00 |
|
Nils O. Selåsdal
|
5307930535
|
Use gcc builtins (if gcc 5 or newer) for saturating math
|
2016-03-04 11:38:51 +01:00 |
|
Nils O. Selåsdal
|
a686ba1975
|
Add gettokens() string function
|
2016-01-08 09:43:04 +01:00 |
|
Nils O. Selåsdal
|
db78689015
|
Add uc_strv_reverse
|
2015-12-10 19:13:16 +01:00 |
|
Nils O. Selåsdal
|
5d54702501
|
Improve docs of strvec
|
2015-12-10 18:52:09 +01:00 |
|
Nils O. Selåsdal
|
94dcd522aa
|
Pass the wqueue directly to the wqueue callback functions
|
2015-12-04 22:25:57 +01:00 |
|
Nils O. Selåsdal
|
1d26348bb0
|
iomux_signal.h and wqueue.h should be usable in C++. Add
to IOMux doxygen group too.
|
2015-12-04 22:18:29 +01:00 |
|
Nils O. Selåsdal
|
a8dffbc71e
|
Add unix signal integration with the iomux
|
2015-11-29 21:51:26 +01:00 |
|
Nils O. Selåsdal
|
9bb7cc335a
|
Add uc_wqueue_flush() to immedately preform mbuf writes
|
2015-11-29 01:05:40 +01:00 |
|
Nils O. Selåsdal
|
6a2ecdf2f4
|
Fix the wqueue header, and update example
|
2015-11-12 18:05:41 +01:00 |
|
Nils O. Selåsdal
|
74701edf31
|
Add documentation for the wqueue
|
2015-11-11 21:41:21 +01:00 |
|
Nils O. Selåsdal
|
e7720cb232
|
Implement write queue for iomux
|
2015-11-10 19:42:53 +01:00 |
|
Nils O. Selåsdal
|
11939065fb
|
Fix the iomux_add/clear events. Also properly remember
the events in the IOMuxFD
|
2015-11-10 19:42:53 +01:00 |
|
Nils O. Selåsdal
|
bb426bfecd
|
Don't undef UC_INLINE in pack.h
|
2015-05-06 18:28:05 +02:00 |
|
Nils O. Selåsdal
|
5e2b1e2d0d
|
Add mbuf enqueue/dequeue functions
|
2015-05-05 00:06:28 +02:00 |
|
Nils O. Selåsdal
|
e922e60849
|
Fix uc_tailq_empty. It did not work prior to this.
|
2015-05-05 00:05:27 +02:00 |
|
Nils O. Selåsdal
|
4a42c9a8de
|
Improve mbuf documentation
|
2015-05-04 22:57:49 +02:00 |
|
Nils O. Selåsdal
|
c6318c079d
|
Re-format code to avoid overly long lines and declarations
|
2015-04-04 23:29:27 +02:00 |
|
Nils O. Selåsdal
|
d187c1d63b
|
Clarify that uc_read_fd always close() the descriptor
|
2015-02-10 21:00:57 +01:00 |
|
Nils O. Selåsdal
|
83ce414beb
|
make array parameter const
|
2015-02-10 20:57:36 +01:00 |
|
Nils O. Selåsdal
|
7e1114c09b
|
Use function names that make more sense
|
2015-02-10 20:45:14 +01:00 |
|
Nils O. Selåsdal
|
617ba23c39
|
Make the clock_now interface const
|
2015-02-10 11:03:44 +01:00 |
|
Nils O. Selåsdal
|
603d86bb61
|
Remove stdio.h from utils.h. Manually include stdio.h if using the
TRACEF() macro from utils.h
|
2015-01-03 01:52:53 +01:00 |
|
Nils O. Selåsdal
|
a367e84b00
|
Move UC_INLINE to utils.h
|
2015-01-03 01:51:18 +01:00 |
|
Nils O. Selåsdal
|
33287ea987
|
Merge branch 'cmd' into dev
Conflicts:
include/ucore/atomic.h
include/ucore/dstr.h
|
2014-12-07 15:46:06 +01:00 |
|
Nils O. Selåsdal
|
ab70a2c5be
|
Make uc_log_init argument const
|
2014-12-02 23:38:24 +01:00 |
|
Nils O. Selåsdal
|
dd925b3654
|
int log_level->enum UC_LOG_LEVEL
|
2014-12-02 23:22:18 +01:00 |
|
Nils O. Selåsdal
|
fe3e4d8e3c
|
Add missing prototypes and includes
|
2014-10-26 14:27:26 +01:00 |
|
Nils O. Selåsdal
|
9bd1336d26
|
have LOGF macros add a newline, so user code doesn't need to.
|
2014-10-06 21:52:28 +02:00 |
|
Nils O. Selåsdal
|
749c5ef0df
|
Correct a few comments in threadqueue
|
2014-09-29 16:16:40 +02:00 |
|
Nils O. Selåsdal
|
045d7c2463
|
Improve doxygen comments
|
2014-09-15 21:13:43 +02:00 |
|