Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: dc5406bbbd6d3a76c367082dcee7941d7cfb0e43
      https://github.com/lxc/lxc/commit/dc5406bbbd6d3a76c367082dcee7941d7cfb0e43
  Author: S.Çağlar Onur <[email protected]>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  put shared variables into thread-local storage

This doesn't solve the general design problem of the log.c (eg; some log lines
got lost or scattered into multiple files) but at least prevent multithreaded
code from crashing.

Before this change something like following;

sudo src/tests/lxc-test-concurrent -i 10 -j 20

was crashing nearly all the time due to 3afbcc4600a as we started to
set lxc.loglevel and lxc.logfile with that commit.

Signed-off-by: S.Çağlar Onur <[email protected]>
Signed-off-by: Serge Hallyn <[email protected]>


_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to