I have two tasks: task1 and task2 that share a resource called Bert. I want to concurrently run both tasks. So that the resource Bert is shared. How do I go about this?
Can I do it with fork() or thread??? Any help or suggestion which be great.
Generally if someone knows how to program concurrency in perl I would love to know.
Can I do it with fork() or thread??? Any help or suggestion which be great.
Generally if someone knows how to program concurrency in perl I would love to know.