Nils O. Selåsdal
|
267451f37f
|
Fix RATE_LIMIT_INITIALIZER
|
2014-09-08 22:27:28 +02:00 |
|
Nils O. Selåsdal
|
03d66f8698
|
Merge branch 'cmd' of ssh://box/var/lib/git/libucore into cmd
|
2014-09-08 22:24:36 +02:00 |
|
Nils O. Selåsdal
|
b446022e6d
|
Fix RATE_LIMIT_INITIALIZER
|
2014-09-08 22:24:08 +02:00 |
|
Nils O. Selåsdal
|
d75d0ee48c
|
( ) around macro arguments..
|
2014-09-06 04:05:54 +02:00 |
|
Nils O. Selåsdal
|
e18317d507
|
fix UC_ROUND_UP()
|
2014-09-06 04:03:20 +02:00 |
|
Nils O. Selåsdal
|
8763059c65
|
Atomic example, used to inspect assembly code..
|
2014-09-02 23:17:41 +02:00 |
|
Nils O. Selåsdal
|
ba79566ce9
|
Better atomic support for gcc and clang
|
2014-09-02 23:17:14 +02:00 |
|
Nils O. Selåsdal
|
e45be1a362
|
eait for max 32 epoll events. 54 is too much
|
2014-09-01 22:20:10 +02:00 |
|
Nils O. Selåsdal
|
db0d62c639
|
Add ATOMIC_GET
|
2014-09-01 22:19:54 +02:00 |
|
Nils O. Selåsdal
|
44ecb1ea7a
|
Fix confusing if vec_len is bytes or number of elements
|
2014-08-26 21:39:08 +02:00 |
|
Nils O. Selåsdal
|
225943aef7
|
Improve doxygen documentation.
|
2014-08-26 21:39:08 +02:00 |
|
Nils O. Selåsdal
|
e45a4d5643
|
Improve doxygen documentation.
|
2014-08-26 21:38:09 +02:00 |
|
Nils O. Selåsdal
|
7e8c59699a
|
Fix confusing if vec_len is bytes or number of elements
|
2014-08-26 20:12:22 +02:00 |
|
Nils O. Selåsdal
|
f7c27648dc
|
Print error if no test cases are run
|
2014-07-11 16:27:36 +02:00 |
|
Nils O. Selåsdal
|
a0e5a4fac8
|
Initial cmd..
|
2014-06-28 01:54:44 +02:00 |
|
Nils O. Selåsdal
|
c949961e77
|
Add a sched_yeild in tocket lock test..
|
2014-06-25 19:53:46 +02:00 |
|
Nils O. Selåsdal
|
777a745428
|
Test heapsorting 1 element
|
2014-06-25 19:52:08 +02:00 |
|
Nils O. Selåsdal
|
32218b3dc7
|
Add test for ticket locks
|
2014-06-25 19:49:14 +02:00 |
|
Nils O. Selåsdal
|
0a6ce86779
|
More comments on the ticket lock code
|
2014-06-25 17:03:14 +02:00 |
|
Nils O. Selåsdal
|
06be01a708
|
pthread implementation of a ticket lock
|
2014-06-25 16:52:15 +02:00 |
|
Nils O. Selåsdal
|
d28288f048
|
Get rid of clang warnings for UC_INLINE
|
2014-06-23 02:24:27 +02:00 |
|
Nils O. Selåsdal
|
723ca5dcfb
|
Fix header guard in read_file.h
|
2014-06-23 02:15:26 +02:00 |
|
Nils O. Selåsdal
|
06ecc68ca7
|
Fix header guard in buffer.h
|
2014-06-23 02:14:20 +02:00 |
|
Nils O. Selåsdal
|
930c90b674
|
Fix uninitialized return value in iomux_update_events
|
2014-06-23 02:09:56 +02:00 |
|
Nils O. Selåsdal
|
b680671d2a
|
Remove a TRACF()
|
2014-06-22 23:11:54 +02:00 |
|
Nils O. Selåsdal
|
2d1e7efc3e
|
Add iomux_from_timers() function to recover an IOMux from
the associated UCTimers
|
2014-06-22 23:11:12 +02:00 |
|
Nils O. Selåsdal
|
2c264a76b4
|
Add init method to dstr for initializing directyl from a string
Change the api so _put_ functions that copy in data are named "_append_"
instead.
|
2014-06-18 15:57:51 +02:00 |
|
Nils O. Selåsdal
|
b3b1179c5a
|
Use restrict on pointers where it makes sense. (requires C99 support,
which we already assume)
|
2014-05-25 23:07:08 +02:00 |
|
Nils O. Selåsdal
|
fe7c152631
|
Use nonblocking pipes
|
2014-05-07 22:48:56 +02:00 |
|
Nils O. Selåsdal
|
0014ca5c2e
|
Move UC_LOG_DESTINATION enum to logging.c, it's
not a public type
|
2014-04-25 19:57:59 +02:00 |
|
Nils O. Selåsdal
|
f267b66bbe
|
Use snprintf over sprintf
|
2014-04-23 22:40:37 +02:00 |
|
Nils O. Selåsdal
|
93a195f0e8
|
Fix size rotating, so filenames are in the order of newest to oldest
|
2014-04-23 22:38:04 +02:00 |
|
Nils O. Selåsdal
|
8abf8068c3
|
Fix raw loggin use of uninitialized value introduced in previous commit
|
2014-04-23 02:21:54 +02:00 |
|
Nils O. Selåsdal
|
0e35ecbc29
|
Initial attempt of log rotation based on file sizes
|
2014-04-23 02:04:08 +02:00 |
|
Nils O. Selåsdal
|
bc27ed462b
|
Keep track of bytes written to a file
|
2014-04-22 23:16:57 +02:00 |
|
Nils O. Selåsdal
|
f6351aacbb
|
fix indentation
|
2014-04-19 00:37:55 +02:00 |
|
Nils O. Selåsdal
|
bb1b152fd0
|
Slight refactor of checking if a destination exists
|
2014-04-19 00:36:24 +02:00 |
|
Nils O. Selåsdal
|
0fe19af6b6
|
Use TailQ instead of sys/queue.h in the logging module
|
2014-04-19 00:20:44 +02:00 |
|
Nils O. Selåsdal
|
7a8731b44d
|
Merge branch 'dev' of /var/lib/git/libucore into dev
|
2014-04-09 23:51:54 +02:00 |
|
Nils O. Selåsdal
|
e09a51c852
|
Add -Winit-self flag
|
2014-04-09 23:51:42 +02:00 |
|
Nils O. Selåsdal
|
c9656fbb3c
|
no need for clamping to funds + 1, just to funds
|
2014-03-18 22:33:32 +01:00 |
|
Nils O. Selåsdal
|
71c9643ee9
|
Better error message for UC_STATIC_ASSERT. Also
require it to be terminated by a ;
|
2014-03-14 00:58:09 +01:00 |
|
Nils O. Selåsdal
|
b93e5b6d5b
|
add uc_read_fd function
|
2014-03-13 23:16:50 +01:00 |
|
Nils O. Selåsdal
|
092074bbfc
|
Fix read_file in case file size if > SSIZE_MAX
|
2014-03-13 23:07:57 +01:00 |
|
Nils O. Selåsdal
|
62a7a60712
|
Set errno to 0, for consistent results
|
2014-03-13 23:04:14 +01:00 |
|
Nils O. Selåsdal
|
1844735483
|
Add -Werror=implicit-function-declaration to CFLAGS
|
2014-03-12 19:19:35 +01:00 |
|
Nils O. Selåsdal
|
325c36435f
|
Tidy up whitespace
|
2014-03-10 22:02:44 +01:00 |
|
Nils O. Selåsdal
|
15a3cbb59a
|
Small refactoring of ratelimit code to make more sense
|
2014-03-09 23:54:48 +01:00 |
|
Nils O. Selåsdal
|
8fca5333d9
|
Implement generalied IOMux implementation operations
Fix serious bug in iomix_timers_run
|
2014-03-02 06:00:05 +01:00 |
|
Nils O. Selåsdal
|
74f3d9253b
|
Merge branch 'dev' of /var/lib/git/libucore into dev
|
2014-03-02 04:00:03 +01:00 |
|