[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-devel] [PATCH] Decoding in a separate thread
From: |
Calin A. Culianu |
Subject: |
[Pan-devel] [PATCH] Decoding in a separate thread |
Date: |
Tue, 20 Mar 2007 06:45:57 -0400 (EDT) |
Hi all,
This patch is against svn version 205. It adds:
- a worker thread pool class that is relatively painless to use
- for now this class is used to initiate server connections and for the
decoder thread
- some locking primitives wrapped in C++ classes (wrappers around glib
objects),
- reorganizes a bit of the code,
and, most importantly:
*** Provides a decoder thread so that UUDecode operations happen in a
separate thread. No more pan stalls while it uudecodes! Yay!
Please apply this patch as follows:
1. get the svn sources:
# svn checkout http://svn.gnome.org/svn/pan2/trunk pan2
2. apply the patch:
#cd pan2; patch -p1 < pan2_svn_205_add_decoder_thread.diff
3. Then build pan2:
# CFLAGS=-g CXXFLAGS=-g ./autogen.sh && ./configure && make
Please send me any and all core dumps (I seriously doubt it will coredump)
along with the compiled pan binary (I need it for debugging symbols).
If Charles is around: let me know if you accept the patch or if anything
you think needs to be changed or cleaned up.
Cheers and thanks!!
PS: PAN rocks!
PPS: Let me know if any windows users want me to do a windows build if
you are too lazy to compile it yourself on Windows...?
-Calin
pan2_svn_205_add_decoder_thread.diff
Description: Text document
- [Pan-devel] [PATCH] Decoding in a separate thread,
Calin A. Culianu <=