once apon a time (2 1/2 years ago) i posted a small and very easy example to use multithreading with lite-c. My solution seams to be the better for your idea.
Unfortunately the example got lost from my server - i will upload the example again (in ~ 10h) - and pm you the link...