HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nmcveity

no profile record

comments

nmcveity
·2 ปีที่แล้ว·discuss
This gem from the ABC news coverage has my mind 100% boggled:

"711 has been affected by the outage … went in to buy a sandwich and a coffee and they couldn’t even open the till. People who had filled up their cars were getting stuck in the shop because they couldn’t pay."

Can't even take CASH payment without the computer, what a world!
nmcveity
·2 ปีที่แล้ว·discuss
All with similar sounding names but vastly different purposes.
nmcveity
·2 ปีที่แล้ว·discuss
But sometimes not fast enough. IIRC, you can wait for a HPROCESS in Win32 with the WaitForSingleObject call but that is signaled when the application code finishes _not_ when the OS has finished it's clean up. So if the process you were waiting on was an application that would write, say, "a.txt" and you wanted to wait until that process was done so that you can read "a.txt", it is possible that you fail to open that file because the OS had not released the file resource.

Of course, I wouldn't put that clean up in an atexit.