How to deal with concurrent access to a file
Code
1 2 3 4 | ${lock("mylock",5000)} <#-- my freemarker code / my webservices to call --> <#-- writing in a file, updating a custom list --> ${unlock ("mylock")} |
Code
1 2 3 4 | ${lock("mylock",5000)} <#-- my freemarker code / my webservices to call --> <#-- writing in a file, updating a custom list --> ${unlock ("mylock")} |
Please give details of the problem