|
From: creedon <icr...@us...> - 2006-01-30 01:42:14
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20620 Modified Files: CallMachOFrameWork.c Log Message: change buf from 32 to 1024 to increase performance of function, we can do this now because fread is now in non-blocking mode, kernel remains repsonsive Index: CallMachOFrameWork.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/CallMachOFrameWork.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** CallMachOFrameWork.c 30 Jan 2006 00:15:24 -0000 1.9 --- CallMachOFrameWork.c 30 Jan 2006 01:42:04 -0000 1.10 *************** *** 65,68 **** --- 65,70 ---- /* + 2006-01-29 creedon: change buf from 32 to 1024 to increase performance of function, we can do this now because fread is now in non-blocking mode, kernel remains repsonsive + 2006-01-10 creedon: laid down the groundwork for a timeoutsecs parameter, what is a good default? longinfinity? several minutes? I know that some commands I've done have taken 15 - 30 minutes fread now reads in non-blocking mode, no error checking *************** *** 77,81 **** FILE *f; ! char buf [32]; long ct = 0; // unsigned long timeoutsecs = 60 * 5; --- 79,83 ---- FILE *f; ! char buf [1024]; long ct = 0; // unsigned long timeoutsecs = 60 * 5; |