ppisa [Tue, 27 Jan 2009 20:34:04 +0000 (20:34 +0000)]
The uLUt root htimer can be redirected through ul_root_htimer_ops.
These changes are necessary to allow integration into another
root main loop and events processing framework in future.
The types ul_mstime_t/ul_msdiff_t and ul_htim_time_t/ul_htim_diff_t
are not intermixed in the code and they could be separated in the
future if there appears need to do so.
ppisa [Thu, 18 Dec 2008 07:33:51 +0000 (07:33 +0000)]
Addec const attribute to some generic GAVL iterator functions.
This is NOT conversion of custom seatch functions to the
const key pointer. This conversion needs more checking
and could cause problems when multiple consts attributes
are accumulated.
smolik [Wed, 14 Nov 2007 13:30:58 +0000 (13:30 +0000)]
ul_ethd - reimplementation working with sockets - now sending uses fdopen
- under windows now is possible to run ul_ethd like windows service
ulut - disable compilation of utils_PROGRAMS under win32 - some error occures
libulan - implemeted new command - fd_wait_recv
- fdopen
a lot of bug fixes regarding ul_eth implementation
ppisa [Tue, 13 Feb 2007 11:29:42 +0000 (11:29 +0000)]
uLUt library updated from other projects.
Added support for cyclic variables comparison
ul_cyclic_gt
ul_cyclic_ge
This is usable mainly to compare time counters and other
variables which are expected to overflow and support overflow
arithmetics.
Conversion to new logging support finished.
It is now possible to selectively enable and set verbosity
for different logging domains from commandline.
The option "-g" argument syntax is same for all tools.
Number without domain specifier or with symbol "all"
select log level for all domains. Domain name followed
by "." or "=" character selects level for specified domain.
More specifications can be concatenated by symbol ":" or ",".
Usage example:
-g 1:domone.5:domtwo.6
Requires to select level 1 for all but two listed two specified
domains. Log levels for "domone" and "domtwo" domains are set
to 5 or 6 respectively.
Custom GSA array can be preinitialized by static intems list now.
The functions gsa_cust_insert_at() and gsa_cust_delete_at()
recognizes such case when alloc_count is zero and do array copy
instead of items array free or realloc.
Added implementation of multi-tail circular buffer with O1 head space
allocation.
This intended for situation, where more asynchronous sources
need to write data into queue. Because of uLUt is intended
to not enforce any policy to its users, the locking is not
part of the code and operations are divided to the shorter sequences.
Some of these has to be called with lock, spinlock or even IRQ
protection. Synchronization selection is fully in client hands.
ppisa [Thu, 9 Dec 2004 00:24:27 +0000 (00:24 +0000)]
Fixed bug in evaluation of return value in gavl_search_node() function.
Bug reported by Neal H. Walfield. It slipped into code
23 Oct 2003 and has been unnoticed until now, because all CAN
code switched to custom tree version before bug introduction.