6e3432669ee1ad2cf74919208be6840923cbab03 |
|
04-Jul-2014 |
David 'Digit' Turner <digit@google.com> |
android/utils/filelock.c: Handle stale Win32 lock directories. Win32 and other platforms do not use the same implementation of file locks (due to platform differences), in particular, Win32 creates ....file.lock as a directory, while Unix creates it as a single file. If someone starts an emulator instance under Wine, which crashes, the stale directory lock make another non-Wine emulator instance, to enter an infinite loop. These conditions are pretty difficult to obtain, but it's not so unusual to get there during emulator development / testing. This patch detects this edge case and prints a warning, failing to lock the file, which allows the new emulator instance to proceed (even if the locking fails). Change-Id: Iae99be629020e95b2f57b0c10ab0e1317fdca2f5
/external/qemu/android/utils/filelock.c
|
7891dd35fa2439a70f43ab8572778a398365bf24 |
|
28-Apr-2014 |
David 'Digit' Turner <digit@google.com> |
Support building with newest Mingw64 cross-toolchain. This modifies android-configure.sh to detect the new Mingw64-based cross toolchain (i.e. x86_64-w64-mingw32-gcc) and use it when it is in the user's path. Note that this only builds a 32-bit Windows binary, it just uses a different toolchain to do it. A future patch will add support for building both Win32 and Win64 binaries at the same time (which the new toolchain supports). Since this switches from GCC 4.2 to 4.8, this introduces a ton of new warnings that require some cleanups in the sources too. Only the most important warnings are fixed here. Change-Id: Iec8c9b8332d4a38a2cb8acf368c8aa5341cf77be
/external/qemu/android/utils/filelock.c
|
af81d7432594d8459c4fb9f76c5e8a981f69a94c |
|
03-Feb-2014 |
David 'Digit' Turner <digit@google.com> |
Add android/utils/eintr_wrapper.h Add a new Android-specific header that defines two macros to handle EINTR in a consistent way, as well as allow detecting when a system call loops too many times and exit with a fatal error message when that happens. + Unit tests. + Update existing code under android/ which uses to deal directly with EINTR to use the new HANDLE_EINTR() and IGNORE_EINTR() + Remove EINTR checks for functions that call socket_xxx() functions which already loop around EINTR. Change-Id: I1d2ee64d9743a2edc506f616465ea091878db620
/external/qemu/android/utils/filelock.c
|
8b23a6c7e1aee255004dd19098d4c2462b61b849 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/qemu/android/utils/filelock.c
|
f721e3ac031f892af46f255a47d7f54a91317b30 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/external/qemu/android/utils/filelock.c
|
c27f813900a3c114562efbb8df1065e94766fc48 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/external/qemu/android/utils/filelock.c
|