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/Makefile
CXXFLAGS=-std=c++11 -g
OBJECTS = main.o PhotoCompressArchiver.o
LDFLAGS=-L. -l packjpg -L/opt/local/lib -lboost_system-mt -lboost_regex-mt -lboost_filesystem-mt
LDFLAGS=-L/opt/local/lib -lboost_system-mt -lboost_regex-mt -lboost_filesystem-mt
all: main

Also available in: Unified diff