Commit Graph

12 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
David Anderson d5a8f6f1e1 - API: add boinc_init_parallel().
This is like boinc_init() but for multithread apps.
    Unlike boinc_init(), it suspends/resumes all threads in the app,
    not just one.
    In Unix, this is done by forking,
    and having the parent process handle suspend/resume messages
    and suspend/resume the child using signals
    On Win, there's some nasty code that enumerates all
    threads in the whole system, and suspends/resumes
    those in a particular process.


svn path=/trunk/boinc/; revision=20054
2010-01-01 02:50:56 +00:00
Rom Walton 2d25b6698d - Cleanup various warnings
- WINSCR: Implement new configuration dialog with new parameters
    - WINSCR: Remove crufty code
    - WINSCR: Update copyrights in resource files
    
    client/
        app.cpp
    clientscr/
        boinc_ss.h
        boinc_ss.rc
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h
    lib/
        common_defs.h
        crypt.cpp
        idlemon_win.cpp
        win_util.cpp
    samples/worker/
        worker.cpp
    win_build/
        boinc_ss.vcproj
        multi_thread.vcproj
        sleeper.vcproj
        ss_app.vcproj
        uc2_graphics.vcproj

svn path=/trunk/boinc/; revision=19923
2009-12-16 19:55:09 +00:00
Rom Walton ada6e10461 - client: Use the ANSI version of WTSQuerySessionInformation to determine
is Remote Desktop is in use.
        
    lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19347
2009-10-20 14:51:20 +00:00
Rom Walton 265de0b15f Quick Updates
svn path=/trunk/boinc/; revision=19299
2009-10-13 22:13:27 +00:00
Rom Walton 2a0dbe4e74 - LIB: Make the is_remote_desktop compilable for all VS versions
and SKUs.
        
    lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=19296
2009-10-13 18:12:33 +00:00
Rom Walton bb2d95953c - lib: revert previous commit, things in lib end up being linked
into project applications, projects may want to continue
        supporting Win9x.
        
    lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=18718
2009-07-25 03:51:18 +00:00
Rom Walton dca67408fd - lib: more code cleanup
lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=18717
2009-07-25 02:27:42 +00:00
David Anderson 114ba8111d compile fixes
svn path=/trunk/boinc/; revision=18589
2009-07-08 22:49:30 +00:00
David Anderson 43231a8dbb svn path=/trunk/boinc/; revision=18588 2009-07-08 19:33:27 +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