Kevin Shanahan
5bb5c576f4
common: constify init_log filename argument
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-11 20:10:17 +10:30
Kevin Shanahan
a56030fad0
common: make logprint properly interrupt the thread progress display
...
Logprint will notify the threads code that the progress meter has been
interrupted and the progress meter will re-print the next time it needs to
be updated.
Unfortunately this makes all the utils depend on the thread code, but not
a big issue.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-08 16:37:48 +10:30
Kevin Shanahan
3e20dae28e
common: add start arg to RunThreadsOn to set initial progress
...
In case we are not starting work from 0, allow this to be set...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 20:51:04 +10:30
Kevin Shanahan
853761d0d6
common: remove pacifier argument from RunThreadsOn
...
Set to true everywhere, just use it unconditionally.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-02-07 20:46:33 +10:30
Kevin Shanahan
ecb66fb2aa
vis: convert full vis to use the thread progress code
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-26 14:01:26 +10:30
Kevin Shanahan
686d4451b8
vis: thread the base portal vis
...
Make the base portal vis thread safe and run on multiple threads. Use the
common thread progress indicator code.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-26 11:27:29 +10:30
Kevin Shanahan
557a1faf20
common: make the common thread code usable on Win32/Linux
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-26 09:33:50 +10:30
Kevin Shanahan
e100c9642b
common: add prinf format attribute to logprint/logvprint
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2012-12-17 13:02:19 +10:30
Tyrann
ce369bfdd6
Use offsetof() consistently
...
And include stddef.h where we do use it
2012-01-06 21:32:53 +10:30
Tyrann
d20e0cc8d4
Mark cmdlib's Error() function noreturn
...
Reduces compiler warning noise
2012-01-06 21:00:41 +10:30
Tyrann
2c2f3c8eb6
Import initial sources
2006-08-28 23:58:10 +09:30