poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Law <david....@apconsult.de>
Subject Re: Is it safe to write to multiple sheets from threads?
Date Sun, 14 May 2017 18:17:53 GMT
Nick,

no idea whether the motivation is performance or just plain convenience,
but is it conceivable one could write each Sheet with a dedicated
Thread to separate WorkBooks & then merge the finished Sheets
into a single WorkBook in a final step?

Would there be any advantage in that?

All the best,
DaveLaw

On 14/05/2017 17:15, Nick Burch wrote:
> On Sat, 13 May 2017, yevsh wrote:
>> Is it safe to write to multiple sheets that belong to same workbook, 
>> from multiple threads?
>
> No
>
> It is safe for multiple threads to write to their own workbooks. 
> However, all operations on a single workbook must be done from the 
> same thread
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message