Project

General

Profile

« Previous | Next » 

Revision f6c21781

Added by David Sorber over 9 years ago

Well I fixed my bizzarre problem last night. It turns out that I was building the argv list for each forked process from the main input file list instead of from the sub list passed to each thread. Now PCA runs in a much more stable fashion. Next I'd like to add some sort of progress reporting and also decompress support. I had the idea of using inotify on the output files (since their names are known a priori) however inotify is Linux only and I haven't yet found a drop in replacement for Mac OS.

View differences:

software/photo_compress_archiver/main.cc
#include <boost/filesystem.hpp>
#include <boost/regex.hpp>
#include "packjpglib.h"
#include "PhotoCompressArchiver.hh"
// clang++ -std=c++11 -L. -l packjpg -I/opt/local/include -L/opt/local/lib

Also available in: Unified diff