[3286] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 0a9ffc: Fix race condition in starting up logger

daemon@ATHENA.MIT.EDU (GitHub)
Tue Aug 7 23:02:08 2012

Date: Tue, 07 Aug 2012 20:02:04 -0700
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu



----==_mimepart_5021d6ac2d873_349714beaf03162b7
Date: Tue, 07 Aug 2012 20:02:04 -0700
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <5021d6ac2e973_349714beaf031631d@sh3.rs.github.com.mail>

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: 0a9ffc5232545cdaee5dacab62f1082c9230892e
      https://github.com/barnowl/barnowl/commit/0a9ffc5232545cdaee5dacab62f1082c9230892e
  Author: David Benjamin <davidben@mit.edu>
  Date:   2012-08-07 (Tue, 07 Aug 2012)

  Changed paths:
    M logging.c

  Log Message:
  -----------
  Fix race condition in starting up logger thread

The context should be created by the main thread. It's accessed by both
so, by the time owl_log_init returns, we need to be sure it exists.




----==_mimepart_5021d6ac2d873_349714beaf03162b7--

home help back first fref pref prev next nref lref last post