You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#527 added code to check if the sort file can be created in ReserveTempFiles(). In TFORM, all worker threads run this check simultaneously, resulting in random failures on Windows (I guess the file is created with an exclusive lock).
I think we don't need worker threads to check the sort file availability. Only the master thread should handle this.
The text was updated successfully, but these errors were encountered:
tueda
added a commit
to tueda/form
that referenced
this issue
Dec 28, 2024
Restrict the sort file creation check at startup to the main thread in
TFORM. This change prevents unnecessary checks and potential race
conditions caused by multiple threads.
Closevermaseren#602.
#527 added code to check if the sort file can be created in
ReserveTempFiles()
. In TFORM, all worker threads run this check simultaneously, resulting in random failures on Windows (I guess the file is created with an exclusive lock).I think we don't need worker threads to check the sort file availability. Only the master thread should handle this.
The text was updated successfully, but these errors were encountered: