aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bus aio's can be inline.Garrett D'Amore2021-12-25
|
* Restore legacy nng_getopt_ptr.Garrett D'Amore2021-12-25
| | | | closes #1553
* fixes #1552 Several warnings compiling in Windows with Visual Studio 2019Garrett D'Amore2021-12-25
| | | | | Note that one of these warning is a real bug that would prevent TLS from functioning properly on Windows.
* fixes #1550 GCC diagnostic inside functions not supported in older compilersGarrett D'Amore2021-12-25
|
* Could use GCC atomics for older versions of GCC.Garrett D'Amore2021-12-08
| | | | | | | | This should help greatly with performance on older systems such as CentOS 7 and GCC 4.8. Though, such folks really should update to newer compilers. Folks running version of GCC earlier than 4.7 will still pay a rather significant performance penalty, as they still implement atomics with a global mutex.
* Fixes compiling on windows 32-bit (#1549)Edward Rudd2021-12-08
| | | | | | | | * use correct LONG type for nni_atomic_flag on win32 * use InterlockExchangeAdd for nni_atomic_get_bool - this is equivelent to InterlockAdd for the purposes of this call (since it is adding 0) - this allows the code to compile on 32bit windows
* Compilation failure for atomics on legacy platforms (gcc 4.8, centos 7)Garrett D'Amore2021-12-08
|
* fixes #1522 tests/httpserver static handler response body format not correctGarrett D'Amore2021-12-07
|
* ID map static initialization support.Garrett D'Amore2021-12-06
| | | | This also arranges to clean up the maps at nng_fini time.
* Static condvar initialization.Garrett D'Amore2021-12-05
|
* Use static initialization for lists and mutexes.Garrett D'Amore2021-12-05
| | | | | | This eliminates some run-time initialization, moving it to compile time. Additional follow up work will expand on this to simplify initialization and reduce the need for certain locks.
* Provide atomic pointer support.Garrett D'Amore2021-12-05
| | | | | This is initially used for TLS to make loading the engine pointer faster, eliminating a much more expensive lock operation.
* fixes #1541 bug in nni_chunk_insertGarrett D'Amore2021-12-02
|
* Fix incorrect elides of deprecated code.Garrett D'Amore2021-11-29
| | | | | | (Note that this includes some incorrect formatting due to an apparent bug in clang-format 13. Hopefully they'll fix it later, but for now I'm preserving the bad whitespace.)
* fixes #1536 nng_sendmsg and nng_recvmsg could be fasterGarrett D'Amore2021-11-28
| | | | fixes #1535 Desire nng_ctx_sendmsg and nng_ctx_recvmsg
* Don't use deprecated function in test.Garrett D'Amore2021-11-28
|
* fixes #1526 NNG_USE_CLOCKID Bug?Garrett D'Amore2021-11-27
| | | | | | | This makes CLOCK_MONOTONIC the default (as it should have been) for platforms that have it defined, except for Apple platforms which lack support for using anything other than the real time clock with condition variables. (And unfortunately silently ignore attempts to do otherwise.)
* update demos to not use deprecated functions (#1531)Edward Rudd2021-11-27
|
* fix building with PAIR and PUBSUB disabled (#1530)Edward Rudd2021-11-26
| | | | | When building with PAIR and PUBSUB protocols disabled, the perf tools fail to compile. This makes some minor tweaks to correct that
* fixes #1346 windows ipc winsec fails frequently in CI/CDGarrett D'Amore2021-11-02
|
* Use env shebangs everywhere (#1515)Leonard Pollak2021-10-26
| | | | Change all shebangs to use '#!/usr/bin/env bash'. This increases portability to platforms which do not cohere to the FHS.
* fixes #1518 Disconnect during negotiation breaks listenerGarrett D'Amore2021-10-16
|
* Remove unused eq_len member.Garrett D'Amore2021-10-11
|
* Minor cleanups.Garrett D'Amore2021-09-06
|
* Remove redundant check.Garrett D'Amore2021-09-06
|
* fixes #1347 windows IPC accept cancellation not wired upGarrett D'Amore2021-09-06
|
* Eliminate the pipe mutex and use atomic for pipe closed.Garrett D'Amore2021-09-06
| | | | | | | | | | This eliminates several mutex operations done each time a pipe is created or destroyed. For large scale systems this should reduce overall pressure on the memory subsystem, and scale better as many threads are coming and going. This also reduces the overall size of nni_pipe -- on Linux by 36 bytes typically.
* SP initialization cannot fail.Garrett D'Amore2021-09-06
|
* fixes #1498 Endpoint close/shutdown could be synchronous (#1499)Garrett D'Amore2021-09-04
|
* Minor cleanups.Garrett D'Amore2021-08-21
|
* Remove unused prototypes.Garrett D'Amore2021-08-21
|
* Move protocol.c into SP tree (it is SP specific.)Garrett D'Amore2021-08-21
| | | | Also, remove an extraneous initialization call.
* Bump version v1.5.2v1.5.2Garrett D'Amore2021-08-10
|
* fixes #1488 aio expiration list performance work neededGarrett D'Amore2021-08-09
| | | | | | There were several problems with the array implementation, both from performance and from correctness. This corrects those errors (hopefully) and restores the expiration lists as linked lists.
* fixes #1478 mbedTLS 3.0 is not API compatible with 2.xGarrett D'Amore2021-08-09
|
* * FIX #1486 by waking up latest aio each time. (#1487)JaylinYu2021-08-09
|
* Remove separate protocol initialization step.Garrett D'Amore2021-08-07
| | | | | Nothing is using this, but it adds complexity and also requires additional lock activity each time a socket is opened.
* Fix premature transport registration. Mark it deprecated.Garrett D'Amore2021-08-01
| | | | | | | Originally the idea was to better support having the transports be separate loadable modules. This isn't needed for the builtin transports, so we make the explicit initialization of them deprecated, and document it as such.
* Simplify the SP transport initialization process.Garrett D'Amore2021-07-31
|
* Minor format and spelling in comments.Garrett D'Amore2021-07-31
|
* Fix typo. (#1479)Arthur A. Gleckler2021-07-24
|
* Remove extra wrapper for platform clock support.Garrett D'Amore2021-07-22
|
* Fix some unused variables.Garrett D'Amore2021-07-22
|
* Fix header guards.Garrett D'Amore2021-07-22
|
* fixes #1471 Use of strdup instead of nni_strdup in mbedtls/tls.cGarrett D'Amore2021-07-22
|
* fixes #1475 nni_aio_begin should not dispatch task on stopped aioGarrett D'Amore2021-07-22
|
* Fix valgrind error epoll_ctl points to uninitialised bytes (#1469)Jesper Wramberg2021-07-21
| | | | While not strictly an error, valgrind reports it as an error. This commit zero initializes the epoll_event before parsing it to the system call.
* also inject Darwin definitions if iOS/tvOS/watchOS (#1474)SpaceIm2021-07-21
|
* Fix the wrong ratio when expire queue shrink. (#1470)wangha2021-07-16
|
* Minor clang-tidy fixes.Garrett D'Amore2021-07-11
|