2009-04-01から1ヶ月間の記事一覧
http://www.python.jp/doc/release/api/threads.html/Embedding Python in Multi-Threaded C/C++ Applications | Linux Journalと、その補足としてEmbedding Python in C/C++: Part I - CodeProjectメンドクセー
struct A { virtual ~A() { delete hoge_ptr; } void CaptureOwnership(Hoge* ptr) { hoge_ptr = ptr; } protected: hoge* hoge_ptr; }; こういうクラスを、下のようにPythonから使いたい場合。 >>// impl.py a = A(); hoge = Hoge(); a.CaptureOwnership(ho…
http://levent.svn.sourceforge.net/viewvc/levent/trunk/libevent/whatsnew-2.0.txt?view=markup&pathrev=1191thread-safe周りの改良と、evbufferでのsendfile/mmapのサポートが気になる
gcc-4.5 20090327 snapshot / boost-1_38 /usr/local/gcc/4.5/bin/../lib/gcc/i686-pc-linux-gnu/4.5.0/../../../../include/c++/4.5.0/tr1_impl/type_traits: In function ‘bool boost::filesystem::is_empty(const boost::filesystem::path&)’: /usr/local…