Skip to content

Commit

Permalink
Worked on multi-threading support.
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Nov 8, 2015
1 parent 022366f commit 347253d
Show file tree
Hide file tree
Showing 18 changed files with 1,424 additions and 179 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
TODO
* complete thread-safety in open functions
- libvmdk_handle_open_extent_data_files
* check TODO in libvmdk_handle_open_wide regardin UTF-16

* add support for the change tracking file?
* make sure descriptor file data is cleaned on close - also if no data files were set!

Expand Down Expand Up @@ -64,6 +68,9 @@ Tests:
- compressed (done)
- (compressed) with parent (done)

20141106
* worked on multi-threading support

20141030
* added tests/pyvmdk_test_open_close.py to make dist

Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ VMDK format features not supported at the moment:

Work in progress:
* Dokan library support
* Thread-safety in handle API functions

Planned:
* Multi-threading support
* Python 3 support

For more information see:
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ( 2.59 )

AC_INIT(
[libvmdk],
[20141030],
[20141106],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
1 change: 1 addition & 0 deletions libvmdk/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ libvmdk_la_SOURCES = \
libvmdk_libcpath.h \
libvmdk_libcsplit.h \
libvmdk_libcstring.h \
libvmdk_libcthreads.h \
libvmdk_libfcache.h \
libvmdk_libfdata.h \
libvmdk_libfvalue.h \
Expand Down
2 changes: 2 additions & 0 deletions libvmdk/libvmdk_extent_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ int libvmdk_extent_table_set_basename(
}

#if defined( HAVE_WIDE_CHARACTER_TYPE )

/* Retrieves the size of the basename
* Returns 1 if successful, 0 if value not present or -1 on error
*/
Expand Down Expand Up @@ -1389,6 +1390,7 @@ int libvmdk_extent_table_set_basename_wide(
#endif /* defined( LIBCSTRING_HAVE_WIDE_SYSTEM_CHARACTER ) */
return( 1 );
}

#endif /* defined( HAVE_WIDE_CHARACTER_TYPE ) */

/* Initializes the extents
Expand Down
Loading

0 comments on commit 347253d

Please sign in to comment.