Corinna Vinschen
0c8731b8f4
* errno.cc (errmap): Handle ERROR_IO_PENDING.
* fhandler.cc (fhandler_base::open): Make tape I/O asynchronous.
* fhandler.h (class fhandler_dev_tape): Add mt_evt member.
* fhandler_tape.cc (mtinfo_drive::initialize): Initialize async_writes.
(mtinfo_drive::close): Handle async writes.
(mtinfo_drive::read): Add mt_evt parameter. Use overlapped I/O.
(mtinfo_drive::async_wait): New function.
(mtinfo_drive::write): Add mt_evt parameter. Use overlapped I/O.
Handle async writes.
(mtinfo_drive::_set_pos): Handle async writes.
(mtinfo_drive::set_partition): Ditto.
(mtinfo_drive::prepare): Ditto.
(mtinfo_drive::get_status): Drop useless "else". Handle async_writes
flag.
(mtinfo_drive::set_options): Handle async_writes flags.
(fhandler_dev_tape::close): Close mt_evt handle.
(fhandler_dev_tape::raw_read): Create mt_evt handle and use in call
to mtinfo_drive::read.
(fhandler_dev_tape::raw_write): Create mt_evt handle and use in call
to mtinfo_drive::write.
* mtinfo.h (MTINFO_VERSION): Bump.
(enum dirty_state): Add async_write_pending state.
(class mtinfo_drive): Add OVERLAPPED struct "ov". Add async_writes
flag.
(mtinfo_drive::async_wait): Add declaration.
(mtinfo_drive::read): Add mt_evt parameter.
(mtinfo_drive::write): Ditto.
* registry.cc (load_registry_hive): Call enable_restore_privilege
instead of set_process_privilege.
2004-04-19 19:29:10 +00:00
..
2002-07-07 00:44:08 +00:00
2004-03-30 15:21:18 +00:00
2004-04-19 19:29:10 +00:00
2004-03-30 19:20:42 +00:00
2004-04-19 17:01:27 +00:00
2001-10-12 20:02:41 +00:00
2004-04-13 09:40:03 +00:00
2004-03-21 17:58:14 +00:00
2004-04-18 20:48:29 +00:00
2003-11-23 09:02:26 +00:00
2003-11-20 19:31:52 +00:00
2003-11-20 19:31:52 +00:00
2003-01-13 21:11:19 +00:00
2003-08-06 03:22:18 +00:00
2003-11-23 09:02:26 +00:00