Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#10508 closed enhancement (fixed)

Make wxLog thread-safe

Reported by: vadz Owned by:
Priority: normal Milestone: 3.0.0
Component: base Version:
Keywords: wxLog MT Cc: mail@…
Blocked By: Blocking:
Patch: no


We need to

  1. Make wxLogFunctions() thread-safe by collecting the messages from all threads and flushing them out all together during idle time.
  2. Allow disabling logging for just the current thread and not globally (in fact this should be the default behaviour of wxLogNull).
  3. Pass the id of the thread which logged the message to DoLogWithSomeNewName().

Please see the full discussion of this bug at

Change History (3)

comment:1 Changed 10 years ago by kraymer

  • Cc mail@… added

It would be great to see this feature implemented! CC'ing..

comment:2 Changed 10 years ago by vadz

  • Resolution set to fixed
  • Status changed from new to closed

Actually this was already implemented quite some time ago, I just forgot to close this one.

comment:3 Changed 10 years ago by kraymer

Nice one! One more reason to check out 2.9.1, I guess.

Note: See TracTickets for help on using tickets.