Skip to content

Commit

Permalink
Initialize logger lock.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Jun 8, 2016
1 parent 33eb750 commit ea90f6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions machine/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ namespace rubinius {

class Logger {
rubinius::locks::spinlock_mutex lock_;

#define LOGGER_TIME_SIZE 16

char formatted_time_[LOGGER_TIME_SIZE];

public:
Logger()
: lock_()
{ }

virtual ~Logger() { }

Expand Down

0 comments on commit ea90f6f

Please sign in to comment.