create threads within processes and share a queue between the threads