Commit Graph

9 Commits

Author SHA1 Message Date
David Anderson f6c0345eb2 - client: fix bug that broke work fetch.
We can't set coprocs.n_rsc to zero in CONFIG::defaults().
	- multi_thread app: update initialization

svn path=/trunk/boinc/; revision=23513
2011-05-07 17:20:56 +00:00
David Anderson 1637c19e08 - API and sample apps: pass buf length arg to boinc_msg_prefix()
and use snprintf() to avoid overrun.
    Can't see why this could ever happen.
    Attempt to fix crash in E@h apps.

svn path=/trunk/boinc/; revision=22363
2010-09-15 23:03:30 +00:00
David Anderson c2444c5206 - apps: compile fix
svn path=/trunk/boinc/; revision=21785
2010-06-21 23:29:37 +00:00
David Anderson 42683a8a31 svn path=/trunk/boinc/; revision=20269 2010-01-27 03:55:46 +00:00
David Anderson 1c127cd122 - example multi-thread app: change to use boinc_init_parallel().
It's way simpler now.


svn path=/trunk/boinc/; revision=20058
2010-01-01 06:03:08 +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
David Anderson 68e2530b3a - API: add function boinc_msg_prefix() that returns
time of day and process ID.
    This should prefix all messages written to stderr
    by applications or by the runtime system.

svn path=/trunk/boinc/; revision=17687
2009-03-27 23:42:47 +00:00
David Anderson 5a5b386313 - client: garbage collect after scheduler RPC;
if project sent some irrelevant FILE_INFOs,
		this will avoid starting transfers for them.

svn path=/trunk/boinc/; revision=17644
2009-03-23 01:33:17 +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