Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Morphlines and multithreading

avatar
Explorer

Hi...

 

Does the single-threaded design of morphilnes mean that there can be concurrency issues by creating multiple morphlines from the same config file and running each of them in a separate thread?

 

For example, if one compiles 10 morphlines from the same config file and then run each of those in a separate thread, can that cause any thread safety issues?

 

Thanks.

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Explorer

I assumed so, but wanted to confirm that there is no state sharing "behind the scenes", especially in the Command building process.

 

Thanks for the confirmation.