[Pvfs2-developers] threaded client
Sam Lang
slang at mcs.anl.gov
Thu Oct 12 22:27:53 EDT 2006
Hi all,
I just committed some changes to the Makefile.in so that libpvfs2-
threaded.a gets built by default. A pvfs2-client-core-threaded
binary now gets built (linked to the libpvfs2-threaded.a). Also, I
added a -threaded option to pvfs2-client, which starts the threaded
binary instead of the single thread one.
The only drawback I see to this is that the build takes longer now,
because all of the source files have to compile to *-threaded.o
versions as well. The only big difference between them is the -
D__PVFS2_JOB_THREADED__. Since that preprocessor directive is only
used in a few source files, we end up doing a lot of unnecessary
building. I'm not sure there's a good way around this though.
-sam
More information about the Pvfs2-developers
mailing list