]> git.ipfire.org Git - thirdparty/vala.git/commit
Use thread-local storage for context stack
authorJürg Billeter <j@bitron.ch>
Mon, 30 Mar 2009 15:45:41 +0000 (17:45 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 30 Mar 2009 15:45:41 +0000 (17:45 +0200)
commit7549e692d222110f77ad792723d26bf85b4693b3
tree341fc15c450610e4a484aeb66f314531c6cf9c3c
parent6f914b4d29795f268facf76a50ba4da850e74d86
Use thread-local storage for context stack

Make it possible to use libvala from multiple threads by using a
thread-local stack of CodeContext objects. Based on patch by
Andrea Del Signore, fixes bug 573041.
vala/valacodecontext.vala