Skip to content
Snippets Groups Projects
Select Git revision
0 results

boinc_api.h

Blame
    • David Anderson's avatar
      d5a8f6f1
      - API: add boinc_init_parallel(). · d5a8f6f1
      David Anderson authored
          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
      d5a8f6f1
      History
      - API: add boinc_init_parallel().
      David Anderson authored
          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