Commit Graph

47 Commits

Author SHA1 Message Date
Michael Davidsaver 0395982691 add evsocket::interfaces() wrapper 2020-12-13 15:49:43 -08:00
Michael Davidsaver edce454dc7 avoid unnecesary copies 2020-08-10 12:09:55 -07:00
Michael Davidsaver 33b6f362db client: Handle orphaned Operations
Allow Operation instances to outlive
the Context through which they were
created.
2020-08-10 12:09:55 -07:00
Michael Davidsaver c8f72f5319 detect attempt to call() into inactive loop 2020-08-10 12:09:55 -07:00
Michael Davidsaver 69efc4b8a9 minor 2020-05-22 09:17:22 -07:00
Michael Davidsaver add99065e9 thread_local -> ThreadEvent
at least GLIBC runs TLS dtors before atexit() callbacks
on exit() or return from main().

Use epicsThreadPrivate which doesn't cleanup locals for main().
2020-04-25 14:40:43 -07:00
Klemen Vodopivec 02f24a74e7 Made it build on EPICS 3.14.12.6, all unit tests pass. 2020-04-16 22:01:38 -07:00
Michael Davidsaver f1cc5a2aa6 minor thread_local 2020-04-13 18:06:40 -07:00
Michael Davidsaver b0eecb949f fixup client operation object lifetime 2020-04-12 23:29:30 -07:00
Michael Davidsaver 29c837e7ed maybe self-join? 2020-04-12 22:30:30 -07:00
Michael Davidsaver d852758b7b client: ensure worker is joined on close() 2020-04-07 12:05:28 -07:00
Michael Davidsaver facb18ae00 Add log_exc_printf() with stack trace 2020-04-03 11:58:23 -07:00
Michael Davidsaver e2513db4d9 MSVC need osiSockAttach() 2020-03-31 13:07:50 -07:00
Michael Davidsaver 36dc71a158 MSVC missing includes 2020-03-31 13:07:50 -07:00
Michael Davidsaver fd11d382e7 minor 2020-03-24 15:33:52 -07:00
Michael Davidsaver d52272e148 fix EvInBuf::refill() 2020-03-23 21:39:33 -07:00
Michael Davidsaver a3862b423b libevent 2.0 compat 2020-03-07 10:25:18 -08:00
Michael Davidsaver 4207b6639b evthread_use_* is not idempotent 2020-03-05 15:33:39 -08:00
Michael Davidsaver 44331decf9 redo evhelper::dispatch()/call()
void races and
2020-03-04 19:34:16 -08:00
Michael Davidsaver 8c646cd65a more log 2020-02-20 09:37:29 -08:00
Michael Davidsaver 99ce43c0eb prefer log_*_printf() 2020-02-19 07:10:52 -08:00
Michael Davidsaver 03c41c2ce3 minor 2020-02-03 14:57:50 -08:00
Michael Davidsaver 80dacb895e log show time 2020-02-03 14:57:50 -08:00
Michael Davidsaver c2a4224a21 server monitor 2020-01-22 12:25:21 -08:00
Michael Davidsaver fecdd52e70 update logging 2019-12-19 18:42:39 -08:00
Michael Davidsaver 92c513d6dd de-templateize xcode 2019-12-10 19:28:54 -08:00
Michael Davidsaver dd4da5d6d5 more test utils 2019-12-10 17:56:40 -08:00
Michael Davidsaver 083bad3e28 redo namespaces 2019-11-19 16:08:03 -08:00
Michael Davidsaver 9c68205428 more server 2019-11-19 16:08:03 -08:00
Michael Davidsaver e1b8923f33 server basics 2019-11-19 16:06:43 -08:00
Michael Davidsaver bab82affb8 redo packet build/parse
now with evbuffer
2019-11-19 16:06:43 -08:00
Michael Davidsaver 06e780872b progress 2019-11-19 16:06:43 -08:00
Michael Davidsaver 985687a54d test UDP handling 2019-10-27 20:57:11 -07:00
Michael Davidsaver c886205110 redo UDP handling 2019-10-27 16:19:59 -07:00
Michael Davidsaver cf64dad10d start on server 2019-10-24 16:47:37 -07:00
Michael Davidsaver 2497350fcd more shuffling 2019-10-24 13:27:54 -07:00
Michael Davidsaver 5892e131b6 adapt SockAddr 2019-10-24 10:49:44 -07:00
Michael Davidsaver 84ac6ed091 move sockaddr wrapper to public API 2019-10-24 10:38:25 -07:00
Michael Davidsaver 8c40929e5c all sorts of changes 2019-10-23 13:29:31 -07:00
Michael Davidsaver 0b08678d1f simplify 2019-10-23 11:09:52 -07:00
Michael Davidsaver 5301785233 drop sockaddr_storage 2019-10-22 18:27:53 -07:00
Michael Davidsaver 0ac8092f13 Revert "oops"
This reverts commit d4357850fc.
2019-10-22 09:04:07 -07:00
Michael Davidsaver d4357850fc oops 2019-10-21 19:50:51 -07:00
Michael Davidsaver f44ff9754c diagnose osx bind error 2019-10-21 19:22:18 -07:00
Michael Davidsaver e125fdf990 fixup (de)serialize 2019-10-21 16:27:47 -07:00
Michael Davidsaver 87508ea279 automatic evhelper_ev2err 2019-10-21 16:27:47 -07:00
Michael Davidsaver 466044d6a5 initial 2019-10-19 20:17:39 -07:00