Commit Graph

36 Commits

Author SHA1 Message Date
David Anderson 6131537c57 - wrapper: compile fixes for Mac
- delete uppercase/


svn path=/trunk/boinc_samples/; revision=14873
2008-03-09 18:18:21 +00:00
David Anderson 1345448cb5 - fix #if
svn path=/trunk/boinc_samples/; revision=14869
2008-03-07 17:53:58 +00:00
David Anderson c6a1211706 - Wrapper (Mac): use elapse wall time as CPU time;
there's no easy way to get another process's CPU time in Mac OS X

svn path=/trunk/boinc_samples/; revision=14867
2008-03-07 04:43:08 +00:00
David Anderson 3802e31e37 compile fix
svn path=/trunk/boinc_samples/; revision=14864
2008-03-06 18:34:32 +00:00
David Anderson 08026c94f1 - wrapper (Win): suspend or resume all the threads in an app,
not just the initial one.
- wrapper: merge app_suspended and TASK::suspended variables

svn path=/trunk/boinc_samples/; revision=14862
2008-03-06 18:31:33 +00:00
David Anderson 480f497e03 - wrapper: if a child exits with nonzero status X,
call boinc_finish() with ERR_CHILD_FAILED rather than X.
    If X is zero in the low-order byte
    (e.g. if the program isn't executable)
    the BOINC client will restart us, which isn't what we want.

svn path=/trunk/boinc_samples/; revision=14858
2008-03-06 16:15:17 +00:00
David Anderson 345c38ae9c - small bug fix
svn path=/trunk/boinc_samples/; revision=14476
2008-01-06 22:27:35 +00:00
David Anderson 4e5f7f21c4 - wrapper, Win: if GetProcessTimes() fails (which it does on Win 98/ME),
use wall CPU time as estimate of CPU time

svn path=/trunk/boinc_samples/; revision=14308
2007-11-27 19:15:32 +00:00
David Anderson badf3f77ff svn path=/trunk/boinc_samples/; revision=13615 2007-09-20 20:34:24 +00:00
David Anderson 2d3be1dd51 - wrapper: fix append mode in win_fopen() (2nd try)
svn path=/trunk/boinc_samples/; revision=13614
2007-09-20 20:32:33 +00:00
David Anderson fea864af4d - uppercase: fix crash in standalone mode
- wrapper: fix append mode in win_fopen()

svn path=/trunk/boinc_samples/; revision=13585
2007-09-13 07:30:27 +00:00
David Anderson 2d5e4467a4 - wrapper: report CPU time correctly when >1 job
wrapper/
    wrapper.C

svn path=/trunk/boinc_samples/; revision=13049
2007-06-28 22:49:48 +00:00
David Anderson dde65419d1 - wrapper: set thread priority of worker processes
to IDLE class (Win);
		set prior of worker processes to PROCESS_IDLE_PRIORITY (Unix)

	uppercase/
		upper_case.C
	wrapper/
		wrapper.C

svn path=/trunk/boinc_samples/; revision=12927
2007-06-13 16:42:36 +00:00
David Anderson c78444daa8 wrapper: use diag defaults
svn path=/trunk/boinc_samples/; revision=12849
2007-06-08 07:44:58 +00:00
David Anderson 7c350ed33e - Wrapper can handle multiple tasks
wrapper/
    job.xml
    wrapper.C

svn path=/trunk/boinc_samples/; revision=12758
2007-05-28 16:31:39 +00:00
David Anderson cd23f110a6 David 26 Apr 2007
- wrapper: pass wrapper's command-line args to application,
        after those in the job file (if any).
        This lets you pass different command-line args to the app
        for different workunits,
        without creating a new app version per workunit.

    NOTE: actually, I don't think this is necessary;
    the job file can be part of the workunit, not part of the app version.
    
    wrapper/
        wrapper.C

svn path=/trunk/boinc_samples/; revision=12487
2007-04-26 20:10:54 +00:00
David Anderson 124bff93f1 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=12257
2007-03-20 23:12:22 +00:00
David Anderson 9d8e75f6fe *** empty log message ***
svn path=/trunk/boinc_samples/; revision=12256
2007-03-20 20:09:37 +00:00
David Anderson 1a48757db8 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=12135
2007-02-21 20:04:14 +00:00
David Anderson edefec0416 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11588
2006-11-25 22:13:27 +00:00
David Anderson 9fb333d1e5 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11586
2006-11-25 02:54:25 +00:00
David Anderson 5b8e4d507f *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11585
2006-11-25 00:55:49 +00:00
David Anderson 66ddf0b2d1 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11584
2006-11-25 00:49:09 +00:00
David Anderson bf201745ed *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11583
2006-11-25 00:28:45 +00:00
David Anderson c7d6d370ed *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11138
2006-09-11 18:33:37 +00:00
David Anderson 6d1a07d716 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=11132
2006-09-10 02:21:48 +00:00
David Anderson 8a3834cbf2 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10941
2006-08-17 22:09:20 +00:00
David Anderson 8b7fc880bc *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10940
2006-08-17 21:25:14 +00:00
David Anderson 03a5da7e14 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10899
2006-08-12 22:37:31 +00:00
David Anderson f639b7efb7 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10898
2006-08-12 22:34:34 +00:00
David Anderson 26c9f2861e *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10655
2006-07-17 16:55:47 +00:00
David Anderson 388deb3035 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10347
2006-06-14 20:14:20 +00:00
David Anderson cdc30195e6 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10333
2006-06-13 23:12:36 +00:00
David Anderson eda762787e *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10219
2006-05-30 04:36:15 +00:00
David Anderson 4782a844a7 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10217
2006-05-29 20:54:28 +00:00
David Anderson d892b587e8 *** empty log message ***
svn path=/trunk/boinc_samples/; revision=10216
2006-05-29 20:24:05 +00:00