Nils O. Selåsdal
|
b6bd7fcaa6
|
Don't memmove the buffer content unless it's needed
|
2013-07-12 20:27:31 +02:00 |
|
Nils O. Selåsdal
|
b475fae56b
|
Add uc_set_tcp_keepalive_cfg too set keepalive options
|
2013-07-08 22:15:56 +02:00 |
|
Nils O. Selåsdal
|
1d01e6dc7e
|
INdent properly
|
2013-07-07 22:14:56 +02:00 |
|
Nils O. Selåsdal
|
2bd5f9f5b9
|
Add DBuf , buffer API
|
2013-07-07 22:10:41 +02:00 |
|
Nils O. Selåsdal
|
65c32810cb
|
Add test for uc_mbuf-copy_data
|
2013-07-02 21:22:38 +02:00 |
|
Nils O. Selåsdal
|
bc65b3c421
|
Check for backtrace_fd returning NULL
|
2013-07-02 21:22:03 +02:00 |
|
Nils O. Selåsdal
|
6d77b78b41
|
use unsigned long long for uc_ms2tv()
|
2013-07-01 23:02:24 +02:00 |
|
Nils O. Selåsdal
|
764dfc563c
|
Don't trt yo be smart with the comma operator
|
2013-07-01 23:00:19 +02:00 |
|
Nils O. Selåsdal
|
bf9802e565
|
First iteration of mbuf, message buffer api
|
2013-06-30 21:42:02 +02:00 |
|
Nils O. Selåsdal
|
89232426e0
|
Properly use return value of select to count the number of events
|
2013-06-30 14:34:19 +02:00 |
|
Nils O. Selåsdal
|
a8dcf6edff
|
Get rid of inline warning from clang
|
2013-06-27 20:58:23 +02:00 |
|
Nils O. Selåsdal
|
4aadb0ab2d
|
Clean up main logging function
|
2013-06-20 20:11:07 +02:00 |
|
Nils O. Selåsdal
|
84153e90db
|
Make UC_LL_NONE work
|
2013-06-20 19:55:09 +02:00 |
|
Nils O. Selåsdal
|
012a5b1377
|
move iomux_impl.h to src/ dir, it's an implementation detail
|
2013-06-19 18:51:12 +02:00 |
|
Nils O. Selåsdal
|
74b59a3a38
|
Implement setting log mask string on a destination.
Improve logging docs
|
2013-06-12 21:50:59 +02:00 |
|
Nils O. Selåsdal
|
504ee1315b
|
Clear the fd from pending events after it's been processed
|
2013-06-11 00:05:25 +02:00 |
|
Nils O. Selåsdal
|
150edaeada
|
Rework RBTree to use RBNode in the compare function
|
2013-06-10 23:00:24 +02:00 |
|
Nils O. Selåsdal
|
d1eded3f9d
|
grap log lock when initializing a destination
|
2013-06-05 21:17:18 +02:00 |
|
Nils O. Selåsdal
|
f8116643af
|
Add uc_log_destination_set_log_location, fix signed/unsigned use
|
2013-06-05 21:09:35 +02:00 |
|
Nils O. Selåsdal
|
9125f6128a
|
Merge branch 'dev' of ssh://box.fiane.intra/var/lib/git/libucore into dev
|
2013-06-05 20:52:16 +02:00 |
|
Nils O. Selåsdal
|
972381bf13
|
Use static array for log level strings
|
2013-06-05 20:51:53 +02:00 |
|
Nils O. Selåsdal
|
032e50e1cd
|
Remove setting log level for a module, implement
setting log level for a destination
|
2013-06-01 23:45:14 +02:00 |
|
Nils O. Selåsdal
|
10e717fc7d
|
Preserve errno if opening log file fails
|
2013-05-31 03:49:54 +02:00 |
|
Nils O. Selåsdal
|
af8cab5034
|
Prepare for having per destination module log levels
|
2013-05-31 03:40:33 +02:00 |
|
Nils O. Selåsdal
|
5a427007d6
|
Add fd_utils
|
2013-05-30 22:38:56 +02:00 |
|
Nils O. Selåsdal
|
cfc7cae5c0
|
Remove erronous UNUSED attribuute
|
2013-05-29 22:03:26 +02:00 |
|
Nils O. Selåsdal
|
1e34c11265
|
Name uc_timers_XXX consistently
|
2013-05-28 01:05:38 +02:00 |
|
Nils O. Selåsdal
|
ce0f28c04a
|
Remove murmur hash, it's endian dependent and has unreasonable alignment
requirements
|
2013-05-17 03:27:09 +02:00 |
|
Nils O. Selåsdal
|
8f61118e0d
|
Get rid of warning: declaration of 'clock' shadows a global declaration
on some platforms
|
2013-04-13 03:43:43 +02:00 |
|
Nils O. Selåsdal
|
b80c2f633f
|
prefix global variables with g_
|
2013-03-07 21:11:16 +01:00 |
|
Nils O. Selåsdal
|
5e376d47fc
|
Namespace the bitvec functions
|
2013-03-07 18:15:20 +01:00 |
|
Nils O. Selåsdal
|
8badeaf857
|
Remove ucore_ prefix from headers and source files
|
2013-03-06 22:22:04 +01:00 |
|
Nils O. Selåsdal
|
ee8d9ae19d
|
Add a uc_backtrace_buf() functio
|
2013-03-06 21:58:56 +01:00 |
|
Nils O. Selåsdal
|
54678cf94b
|
Convert iomux to use an UCoreClock
|
2013-03-02 21:42:19 +01:00 |
|
Nils O. Selåsdal
|
b0e9988aa5
|
Convert UCTimers to use UCoreClock
|
2013-03-02 21:16:22 +01:00 |
|
Nils O. Selåsdal
|
42269a8a91
|
CamelCase the Clock structs
|
2013-03-02 20:31:26 +01:00 |
|
Nils O. Selåsdal
|
9f22f7153b
|
Don't shadow the global clock function
|
2013-03-02 18:45:32 +01:00 |
|
Nils O. Selåsdal
|
aaae376d13
|
clock abstraction
|
2013-03-02 17:23:49 +01:00 |
|
Nils O. Selåsdal
|
3f6193914f
|
Cosmetic ucore_bcd changes
|
2013-02-21 21:51:35 +01:00 |
|
Nils Olav Selåsdal
|
36ac0bffb1
|
Rename RB timers to timer_tree
|
2013-02-21 15:34:12 +01:00 |
|
Nils Olav Selåsdal
|
7c7a09421a
|
Fix bcd stack smash
|
2013-01-17 16:30:30 +01:00 |
|
Nils O. Selåsdal
|
128fabd741
|
Refactor uc_log_reopen_files
|
2013-01-15 21:15:21 +01:00 |
|
Nils O. Selåsdal
|
3e7fd8a34b
|
Implement tryadd, adding itmes with a timeout
|
2013-01-02 16:54:20 +01:00 |
|
Nils O. Selåsdal
|
dbe91d2d13
|
Rename uc_thread_queue_get to uc_thread_queue_tryget, introduce
uc_thread_queue_get macro
|
2013-01-01 21:13:29 +01:00 |
|
Nils O. Selåsdal
|
690b6ba18a
|
align the debug level in the output
|
2012-12-18 00:17:44 +01:00 |
|
Nils O. Selåsdal
|
993fad0076
|
Move ucore_version.h.in to src/ dir so it gets built properly
|
2012-12-14 11:48:27 +01:00 |
|
Nils O. Selåsdal
|
1f70f9f4b0
|
Do fastpath if timeout is 0 on threadqueue_get
|
2012-12-09 22:34:25 +01:00 |
|
Nils O. Selåsdal
|
f6aad1e77a
|
Compile with -std=gnu99.
Small cleanups
|
2012-12-09 20:15:21 +01:00 |
|
Nils O. Selåsdal
|
29fd133ff2
|
Extract timeout calculation
|
2012-12-06 19:13:02 +01:00 |
|
Nils O. Selåsdal
|
16e1ac52ec
|
Coding style change
|
2012-12-05 18:53:58 +01:00 |
|