Monday, April 15, 2013
Post-weekend update
After working on it for a good chunk of the weekend and so far today, it now compiles using pthreads. Unfortunately, something got lost in translation and encoding with one thread does not produce the correct data. Hoping that by the end of the day I can sort out what exactly is causing it, then make it scale properly.
Thursday, April 11, 2013
Change of plans
Since I have yet to figure out what exactly i am doing wrong with boost::thread, I have decided to (for the sake of the presentation tuesday) implement it using pthreads, then attempt to move it to boost:thread later.
Tuesday, April 2, 2013
Unfortunate compiling issues...
Its now been a total of 2 weeks of working each of 2 problems. I've mostly figured out how parallel i/o is actually going to work, but the bigger issue is I cannot seem to get this to compile using boost::thread. I'm attempting to call a member function from a member of the same class in parallel, however my multitude of attempts have only resulted in various compiler errors. Once I can move past this, I should still be able to finish what I intend to this semester, but until I can get everything running using boost::thread I'm dead in the water.
I have determined that when calling the thread creation i am going to need to use boost::bind to get the function pointer, however I cannot get the call to boost::bind correct, which seems to be my error. If anyone happens to read this and have some knowledge that would be greatly appreciated. Hopefully more progress will be made before the meeting today, but so far the insane amount of time I've spent on this just the last two days has resulted in very little progress.
I have determined that when calling the thread creation i am going to need to use boost::bind to get the function pointer, however I cannot get the call to boost::bind correct, which seems to be my error. If anyone happens to read this and have some knowledge that would be greatly appreciated. Hopefully more progress will be made before the meeting today, but so far the insane amount of time I've spent on this just the last two days has resulted in very little progress.
Subscribe to:
Posts (Atom)