Click here to Skip to main content
15,894,646 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralHard drive write latency problem Pin
Michael Breeden15-May-19 3:28
Michael Breeden15-May-19 3:28 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 3:44
professional  Forogar  15-May-19 3:44 
GeneralRe: Hard drive write latency problem Pin
Michael Breeden15-May-19 3:51
Michael Breeden15-May-19 3:51 
GeneralRe: Hard drive write latency problem Pin
OriginalGriff15-May-19 3:59
mveOriginalGriff15-May-19 3:59 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 4:25
professional  Forogar  15-May-19 4:25 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 3:59
professional  Forogar  15-May-19 3:59 
GeneralRe: Hard drive write latency problem Pin
Mycroft Holmes15-May-19 12:50
professionalMycroft Holmes15-May-19 12:50 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:11
mve#realJSOP15-May-19 7:11 
Forogar wrote:
I had the same issue and simply had my copying code loop (with a few milliseconds sleep) until the file was properly closed. Waiting an arbitrary time will be too flaky. Loop it!


I have a method in my static Globals class called FileIsOpen that does the same thing. It loops until the file is closed, or until a time limit is met (throws an exception).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Hard drive write latency problem Pin
Randor 15-May-19 4:52
professional Randor 15-May-19 4:52 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 5:14
mve#realJSOP15-May-19 5:14 
GeneralRe: Hard drive write latency problem Pin
Fueled By Decaff15-May-19 4:55
Fueled By Decaff15-May-19 4:55 
GeneralRe: Hard drive write latency problem Pin
  Forogar  15-May-19 5:40
professional  Forogar  15-May-19 5:40 
GeneralRe: Hard drive write latency problem Pin
#realJSOP15-May-19 7:13
mve#realJSOP15-May-19 7:13 
GeneralRe: Hard drive write latency problem Pin
Dr.Walt Fair, PE15-May-19 5:26
professionalDr.Walt Fair, PE15-May-19 5:26 
GeneralAnnoyed Pin
#realJSOP15-May-19 3:23
mve#realJSOP15-May-19 3:23 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 3:39
PeejayAdams15-May-19 3:39 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:29
mve#realJSOP15-May-19 4:29 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 5:09
PeejayAdams15-May-19 5:09 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 
GeneralRe: Annoyed Pin
PeejayAdams15-May-19 22:10
PeejayAdams15-May-19 22:10 
GeneralRe: Annoyed Pin
dan!sh 15-May-19 3:42
professional dan!sh 15-May-19 3:42 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 4:30
mve#realJSOP15-May-19 4:30 
GeneralRe: Annoyed Pin
OriginalGriff15-May-19 3:57
mveOriginalGriff15-May-19 3:57 
GeneralRe: Annoyed Pin
Richard Deeming15-May-19 7:04
mveRichard Deeming15-May-19 7:04 
GeneralRe: Annoyed Pin
#realJSOP15-May-19 7:23
mve#realJSOP15-May-19 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.