Changes In Branch remove-c11-atomics Through [c6f6825723] Excluding Merge-Ins
This is equivalent to a diff from 1233e63987 to c6f6825723
2020-03-31
| ||
13:41 | Merged in trunk check-in: 1c1d95a764 user: rkeene tags: remove-c11-atomics | |
2016-09-22
| ||
18:01 | Updated to explicitly use sigaction and BSD-style signal handlers, needed to properly deal with SIGPIPE when closing connections check-in: 3a7004a8cd user: rkeene tags: trunk | |
17:35 | Started branch to replace C11 atomics with simpler (but hopefully lock-free) implementation check-in: c6f6825723 user: rkeene tags: remove-c11-atomics | |
2016-08-17
| ||
16:23 | Post-release version increment check-in: 1233e63987 user: rkeene tags: trunk | |
16:22 | Filed 1.18 check-in: a78878e047 user: rkeene tags: trunk, 1.18 | |
Modified README from [8ec76224c9] to [280019e35b].
︙ | |||
51 52 53 54 55 56 57 | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | - - - - - - - - - + - + - + - + - - - - - - - - - - - - - - - | 1. Logging (CFLAGS, -DFILED_DONT_LOG=1) It is possible to disable ALL logging from filed. When logging is completely disabled interlocks (mutexes) for the logging pointer are not engaged and the logging functions are not compiled at all. This results in a slightly smaller and faster binary |
Modified filed.c from [73ad6aa47c] to [a92c173e7c].
︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | - - - - - - - - - - - - - - - - - - - - - - - - - - | #include <stdarg.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include <time.h> #include <pwd.h> |
︙ | |||
624 625 626 627 628 629 630 | 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 | - + - - - + + + | #define filed_sockettimeout_thread_init() 0 #define filed_sockettimeout_init() 0 #define filed_sockettimeout_accept(x) /**/ #define filed_sockettimeout_processing_start(x) /**/ #define filed_sockettimeout_processing_end(x) /**/ #define filed_sockettimeout_close(x) /**/ #else |
︙ | |||
706 707 708 709 710 711 712 | 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | - + | } static void *filed_sockettimeout_thread(void *arg) { time_t now, expiration_time; pthread_t thread_id; long idx; int count; |
︙ |