Yossi Gottlieb 298808cf32 Modules: Add RM_GetDetachedThreadSafeContext(). (#7886)
The main motivation here is to provide a way for modules to create a
single, global context that can be used for logging.

Currently, it is possible to obtain a thread-safe context that is not
attached to any blocked client by using `RM_GetThreadSafeContext`.
However, the attached context is not linked to the module identity so
log messages produced are not tagged with the module name.

Ideally we'd fix this in `RM_GetThreadSafeContext` itself but as it
doesn't accept the current context as an argument there's no way to do
that in a backwards compatible manner.

(cherry picked from commit e270302cdf06b6a7b38c7dcb59680419b1b589c8)
2020-10-27 09:12:01 +02:00
..
2020-03-25 15:55:24 +01:00
2016-06-15 11:49:49 +02:00
2020-10-27 09:12:01 +02:00
2015-09-14 12:35:55 +02:00
2015-10-09 09:47:17 +02:00
2010-10-15 12:54:53 +02:00
2020-09-01 09:27:58 +03:00