Niall’s virtual diary archives – Saturday 9th April 2016

by . Last updated . This page has been accessed 40 times since the 26th March 2019.

Saturday 9th April 2016: 7.33am. Link shared: http://accu.org/index.php/conferences/accu_conference_2016/accu2016_sessions#Distributed_Mutual_Exclusion_using_Proposed_Boost.AFIO_(asynchronous_filesystem_and_file_io)

The ACCU conference is only ten days away! Proposed Boost.AFIO v2, which I'll be presenting for the first time at ACCU, has the functionality I'm presenting written as of yesterday but it most definitely is not working - as the final part I added all required itself to work, I spent two weeks writing code, only checking to see if it compiles, not if it works until now so I have a raft of debugging to do this weekend.

Funnily enough the first bug the first time I ran the debugger is actually a long standing bug in Microsoft's CreateFile() implementation. It returns ERROR_ACCESS_DENIED when it really means ERROR_DELETE_PENDING, and there is no race free way of working around this bug. The only solution is to rewrite CreateFileW() to not have this bug, which I'm doing right now. As much as it's gratifying that I haven't found any bugs written by me yet, I am extremely sure this was sheer coincidence!

#boostafio #boostcpp #c++ #accu #cppcon #cppnow

Go back to the archive index Go back to the latest entries

Contact the webmaster: Niall Douglas @ webmaster2<at symbol>nedprod.com (Last updated: 2016-04-09 07:33:58 +0000 UTC)