Commit Graph

7 Commits

Author SHA1 Message Date
Rom Walton ad60b45f72 - lib: Don't allow the diagnostics threads to be suspended, if a crash happens within
the remaining thread the process will deadlock.

    lib/
        diagnostics.h
        diagnostics_win.cpp
        win_util.cpp

svn path=/trunk/boinc/; revision=20198
2010-01-19 17:22:46 +00:00
Bernd Machenschalk cdcbfc29fd api: updates for building Win32 libs & API with MinGW gcc
added Makefile.mingw used for Einstein@home in lib/ as an
_alternative_ to api/Makefile.mingw

svn path=/trunk/boinc/; revision=19583
2009-11-16 13:13:42 +00:00
Rom Walton 87ffbfcea4 - DIAG: Don't resume after the thread has been suspended, otherwise the
thread stack may be trashed after extracting the context.  This should
        still be okay though as by the time the diagnostics framework
        has gotten here it has already downloaded all the symbols it'll need.

    lib/
        diagnostics_win.cpp
        

svn path=/trunk/boinc/; revision=19244
2009-10-05 16:20:39 +00:00
Rom Walton 6d726159cf - DIAG: Suspend threads right before extracting their context and then
resume them afterwords.  Otherwise we could end up in a deadlock state
        where both the main thread and a support thread are attempting to use
        the same system resource. In the last situation it was way down in
        Winsock.
        
    lib/
        diagnostics_win.cpp

svn path=/trunk/boinc/; revision=19242
2009-10-05 15:07:59 +00:00
David Anderson 563a55f37e - client/libs/samples: remove "#define read _read" etc. from boinc_win.h
These cause problems when "read" is a member name, etc.
		Do these #defines, conditioned on _MSC_VER,
		in the files that actually need them.
	- don't include boinc_win.h from parse.h.
		principle of minimal inclusion

svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
Rom Walton 28c72cab79 - WIN: First pass through the code to fix compliation errors when
building in a Unicode enabled environment.
        
        NOTE: For files that are shared between the core client and
          the manager, it was simpliar to just call the ANSI versions
          of the specific Windows API functions then to monkey with
          all of the string handling code and convert between ANSI
          and UCS-2 strings.  CreateFile becomes CreateFileA instead
          of the default of CreateFileW.
          
        Down to 11 compile time errors from over 100.

    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp
        browser.cpp
        browser.h
        sg_StatImageLoader.cpp
    lib/
        boinc_win.h
        diagnostics_win.cpp
        filesys.cpp
        gui_rpc_client_ops.cpp
        proc_control.cpp
        stackwalker_imports.h
        stackwalker_win.cpp
        str_util.cpp
        util.cpp
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=17859
2009-04-23 03:40:49 +00:00
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00