Worker Thread Article Rewrite

I am a terrible programmer. However, I like programming - even though it takes me a long, long time and I rarely finish anything. You are invited to join me on my treacle-swim of learning.

Moderator: freedom

Worker Thread Article Rewrite

Postby Ben » Mon Feb 15, 2010 3:38 pm

I haven't put a new article up on CodeProject for ages but I'm not resting on my pound-shop laurels. This doesn't, unfortunately, mean that there is going to be a splurge of new stuff in the near future. I am working on yet another rewrite.

I uploaded a rewrite of my most popular article'Creating a Simple Drives Explorer Program' back in May. I hated not being able to work on new stuff but I can't let myself go on without getting the old stuff sufficiently tidied up either.

I'm currently working on a rewrite of my most recent article Monitoring and Controlling a Recursing Function in a Worker Thread. I was as happy as someone could be when they've managed to get something that they've been very baffled by to actually do what they wanted it to do when I submitted the original article. Luckily for me, though, someone who is a better programmer than I kindly pointed out the short cuts in it which I was too ignorant to even know I'd made.

So - sixteen months after posting the original article I am currently preparing an update which includes new code employing exclusion techniques which, I hope, satisfies thread safety requirements thereby making the article more useful to people who want to base more complex threaded software on it.

Beyond the thread safety issue, I also looking in to the issue of making the thread function a global (non static) function. This was suggested as a possibility to me. I am not sure why this might be a benefit. The process of re-implementing the function is helping me to attend to the threadsafe issues, though.
Ben
Site Admin
 
Posts: 153
Joined: Tue Feb 14, 2006 10:29 am

Re: Worker Thread Article Rewrite

Postby Ben » Sun Mar 14, 2010 2:55 pm

I'm currently spending hours getting a different web hosting provider for this site. I'd really rather not have to do it. It's very tedious - but necessary. The new people do seem to be very good though. Thankfully.

I'd rather be coding!
Ben
Site Admin
 
Posts: 153
Joined: Tue Feb 14, 2006 10:29 am


Return to Can you see what it is yet?

Who is online

Users browsing this forum: No registered users and 0 guests

cron