Thread safety reading Cell Values?
Posted: Fri Dec 12, 2014 2:23 pm
Log story short, are the following functions thread safe?
Sheet.CellType[ColNo, Row]
Sheet.AsString[ColNo, Row]
Sheet.AsVariant[ColNo, Row]
Long Story:
I am reading data from an excel file and importing that into a database. I want to use the XE7 threading library and FireDAC Array DML to quickly read the excel data and populate the array. Each thread will be calling the above methods. My question is, are these thread safe as long as I am only reading the data.
Sheet.CellType[ColNo, Row]
Sheet.AsString[ColNo, Row]
Sheet.AsVariant[ColNo, Row]
Long Story:
I am reading data from an excel file and importing that into a database. I want to use the XE7 threading library and FireDAC Array DML to quickly read the excel data and populate the array. Each thread will be calling the above methods. My question is, are these thread safe as long as I am only reading the data.