SAP interview question

Questions relating to how to make a function thread safe.